Jump to content
Software FX Community

Sample skins for Gauge


Recommended Posts

Dear Magnus:

There is no samples related to ASP.NET Themes. However, I will log your

suggestion.

Using skins with Gauges works similarly as the other ASP.NET controls. Here

is a skin I just created:

<%@ Register Assembly="ChartFX.WebForms.Gauge"

Namespace="ChartFX.WebForms.Gauge"

TagPrefix="ChartFXGauge" %>

<ChartFXGauge:RadialGauge runat="server">

<Border Color=Yellow />

<Scales>

<ChartFXGauge:RadialScale>

<Bar Color="Blue"></Bar>

<Indicators>

<ChartFXGauge:Needle Style="needle11" />

</Indicators>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

Regards,

--

PR

"Magnus Salgo" <mgns@novonordisk.com> wrote in message

news:IfDzzBHvGHA.1292@webserver3.softwarefx.com...

> Is there any samples of using skins for Radial Gauges in Visual Studio

> 2005

>

> Regards

> Magnus

>

>

Link to post
Share on other sites

Dear Magnus:

There is no samples related to ASP.NET Themes. However, I will log your

suggestion.

Using skins with Gauges works similarly as the other ASP.NET controls. Here

is a skin I just created:

<%@ Register Assembly="ChartFX.WebForms.Gauge"

Namespace="ChartFX.WebForms.Gauge"

TagPrefix="ChartFXGauge" %>

<ChartFXGauge:RadialGauge runat="server">

<Border Color=Yellow />

<Scales>

<ChartFXGauge:RadialScale>

<Bar Color="Blue"></Bar>

<Indicators>

<ChartFXGauge:Needle Style="needle11" />

</Indicators>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

Regards,

--

PR

"Magnus Salgo" <mgns@novonordisk.com> wrote in message

news:IfDzzBHvGHA.1292@webserver3.softwarefx.com...

> Is there any samples of using skins for Radial Gauges in Visual Studio

> 2005

>

> Regards

> Magnus

>

>

Link to post
Share on other sites

Thanks for your help

If I don't have the ChartFXGauge:RadialScale part in my skin then it works

great...

<ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

<Border Color=Yellow />

<Scales>

</Scales>

</ChartFXGauge:RadialGauge>

If I add ChartFXGauge:RadialScale then I get an exception

<ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

<Border Color=Yellow />

<Scales>

<ChartFXGauge:RadialScale>

<Bar Color="Blue"></Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

" at

ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

index, Object value)

at System.Collections.CollectionBase.RemoveAt(Int32 index)

at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

at System.Collections.CollectionBase.Clear()

at ASP.Default.__BuildControl__control12(Control ctrl) in c:\mgns\Visual

Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

at System.Web.UI.ControlSkin.ApplySkin(Control control)

at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

at System.Web.UI.Control.ApplySkin(Page page)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.AddedControl(Control control, Int32 index)

at System.Web.UI.ControlCollection.Add(Control child)

at

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

ction.AddWebPartHelper(WebPart webPart)

at

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection webParts)"

The application I build is ASP.NET 2.0 using Master /Pages, Themes and

webparts

Regards

Magnus

cms@mypost.se

"Software FX Support" <support@softwarefx.com> wrote in message

news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> Dear Magnus:

>

> There is no samples related to ASP.NET Themes. However, I will log your

> suggestion.

>

> Using skins with Gauges works similarly as the other ASP.NET controls.

Here

> is a skin I just created:

>

> <ChartFXGauge:RadialScale>

> <Bar Color="Blue"></Bar>

> <Indicators>

> <ChartFXGauge:Needle Style="needle11" />

> </Indicators>

> </ChartFXGauge:RadialScale>

Link to post
Share on other sites

Thanks for your help

If I don't have the ChartFXGauge:RadialScale part in my skin then it works

great...

<ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

<Border Color=Yellow />

<Scales>

</Scales>

</ChartFXGauge:RadialGauge>

If I add ChartFXGauge:RadialScale then I get an exception

<ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

<Border Color=Yellow />

<Scales>

<ChartFXGauge:RadialScale>

<Bar Color="Blue"></Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

" at

ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

index, Object value)

at System.Collections.CollectionBase.RemoveAt(Int32 index)

at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

at System.Collections.CollectionBase.Clear()

at ASP.Default.__BuildControl__control12(Control ctrl) in c:\mgns\Visual

Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

at System.Web.UI.ControlSkin.ApplySkin(Control control)

at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

at System.Web.UI.Control.ApplySkin(Page page)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.AddedControl(Control control, Int32 index)

at System.Web.UI.ControlCollection.Add(Control child)

at

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

ction.AddWebPartHelper(WebPart webPart)

at

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection webParts)"

The application I build is ASP.NET 2.0 using Master /Pages, Themes and

webparts

Regards

Magnus

cms@mypost.se

"Software FX Support" <support@softwarefx.com> wrote in message

news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> Dear Magnus:

>

> There is no samples related to ASP.NET Themes. However, I will log your

> suggestion.

>

> Using skins with Gauges works similarly as the other ASP.NET controls.

Here

> is a skin I just created:

>

> <ChartFXGauge:RadialScale>

> <Bar Color="Blue"></Bar>

> <Indicators>

> <ChartFXGauge:Needle Style="needle11" />

> </Indicators>

> </ChartFXGauge:RadialScale>

Link to post
Share on other sites

Dear Magnus:

What is the markup of gauge in your aspx page?

Regards,

--

PR

"Magnus Salgo" <mgns@novonordisk.com> wrote in message

news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> Thanks for your help

>

> If I don't have the ChartFXGauge:RadialScale part in my skin then it works

> great...

> <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> <Border Color=Yellow />

> <Scales>

> </Scales>

> </ChartFXGauge:RadialGauge>

>

> If I add ChartFXGauge:RadialScale then I get an exception

>

>

> <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> <Border Color=Yellow />

> <Scales>

> <ChartFXGauge:RadialScale>

> <Bar Color="Blue"></Bar>

> </ChartFXGauge:RadialScale>

> </Scales>

> </ChartFXGauge:RadialGauge>

>

> " at

> ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> index, Object value)

> at System.Collections.CollectionBase.RemoveAt(Int32 index)

> at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> at System.Collections.CollectionBase.Clear()

> at ASP.Default.__BuildControl__control12(Control ctrl) in c:\mgns\Visual

> Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> at System.Web.UI.ControlSkin.ApplySkin(Control control)

> at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> at System.Web.UI.Control.ApplySkin(Page page)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> at System.Web.UI.ControlCollection.Add(Control child)

> at

> System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> ction.AddWebPartHelper(WebPart webPart)

> at

> System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> webParts)"

>

>

> The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> webparts

>

> Regards

> Magnus

> cms@mypost.se

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

>> Dear Magnus:

>>

>> There is no samples related to ASP.NET Themes. However, I will log your

>> suggestion.

>>

>> Using skins with Gauges works similarly as the other ASP.NET controls.

> Here

>> is a skin I just created:

>>

>> <ChartFXGauge:RadialScale>

>> <Bar Color="Blue"></Bar>

>> <Indicators>

>> <ChartFXGauge:Needle Style="needle11" />

>> </Indicators>

>> </ChartFXGauge:RadialScale>

>

>

Link to post
Share on other sites

Dear Magnus:

What is the markup of gauge in your aspx page?

Regards,

--

PR

"Magnus Salgo" <mgns@novonordisk.com> wrote in message

news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> Thanks for your help

>

> If I don't have the ChartFXGauge:RadialScale part in my skin then it works

> great...

> <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> <Border Color=Yellow />

> <Scales>

> </Scales>

> </ChartFXGauge:RadialGauge>

>

> If I add ChartFXGauge:RadialScale then I get an exception

>

>

> <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> <Border Color=Yellow />

> <Scales>

> <ChartFXGauge:RadialScale>

> <Bar Color="Blue"></Bar>

> </ChartFXGauge:RadialScale>

> </Scales>

> </ChartFXGauge:RadialGauge>

>

> " at

> ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> index, Object value)

> at System.Collections.CollectionBase.RemoveAt(Int32 index)

> at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> at System.Collections.CollectionBase.Clear()

> at ASP.Default.__BuildControl__control12(Control ctrl) in c:\mgns\Visual

> Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> at System.Web.UI.ControlSkin.ApplySkin(Control control)

> at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> at System.Web.UI.Control.ApplySkin(Page page)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.InitRecursive(Control namingContainer)

> at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> at System.Web.UI.ControlCollection.Add(Control child)

> at

> System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> ction.AddWebPartHelper(WebPart webPart)

> at

> System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> webParts)"

>

>

> The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> webparts

>

> Regards

> Magnus

> cms@mypost.se

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

>> Dear Magnus:

>>

>> There is no samples related to ASP.NET Themes. However, I will log your

>> suggestion.

>>

>> Using skins with Gauges works similarly as the other ASP.NET controls.

> Here

>> is a skin I just created:

>>

>> <ChartFXGauge:RadialScale>

>> <Bar Color="Blue"></Bar>

>> <Indicators>

>> <ChartFXGauge:Needle Style="needle11" />

>> </Indicators>

>> </ChartFXGauge:RadialScale>

>

>

Link to post
Share on other sites
  • 2 weeks later...

Hi

This is the one I use right now

<ChartFXGauge:RadialGauge ID="radialGauge" runat="server" ToolTip="KPI for

xxx" >

<InnerGauges>

<ChartFXGauge:InnerDigitalPanel LinkToMainValue="True">

<Layout Alignment="BottomCenter" />

<DigitalPanel runat="server" ID="DigitalPanel1" BackColor="White"

Height="50px" Width="200px">

</DigitalPanel>

</ChartFXGauge:InnerDigitalPanel>

</InnerGauges>

<Titles>

<ChartFXGauge:Title Color="SteelBlue" Font="Microsoft Sans Serif, Smaller,

style=Bold"

Text="Title" >

<Layout Alignment="BottomCenter" SerializableAnchorPoint="0, -0.4"

Target="AnchorPoint" />

</ChartFXGauge:Title>

</Titles>

<Scales>

<ChartFXGauge:RadialScale Min="-100" MinAlwaysDisplayed="True" Color="215,

225, 243">

<Indicators>

<ChartFXGauge:Needle />

</Indicators>

<Bar Color="215, 225, 243">

</Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

"Software FX Support" <support@softwarefx.com> wrote in message

news:cQ6G02OwGHA.1280@webserver3.softwarefx.com...

> Dear Magnus:

>

> What is the markup of gauge in your aspx page?

>

> Regards,

>

> --

> PR

>

> "Magnus Salgo" <mgns@novonordisk.com> wrote in message

> news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> > Thanks for your help

> >

> > If I don't have the ChartFXGauge:RadialScale part in my skin then it

works

> > great...

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > If I add ChartFXGauge:RadialScale then I get an exception

> >

> >

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > <ChartFXGauge:RadialScale>

> > <Bar Color="Blue"></Bar>

> > </ChartFXGauge:RadialScale>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > " at

> > ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> > index, Object value)

> > at System.Collections.CollectionBase.RemoveAt(Int32 index)

> > at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> > at System.Collections.CollectionBase.Clear()

> > at ASP.Default.__BuildControl__control12(Control ctrl) in

c:\mgns\Visual

> > Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> > at System.Web.UI.ControlSkin.ApplySkin(Control control)

> > at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> > at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> > at System.Web.UI.Control.ApplySkin(Page page)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> > at System.Web.UI.ControlCollection.Add(Control child)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartHelper(WebPart webPart)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> > webParts)"

> >

> >

> > The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> > webparts

> >

> > Regards

> > Magnus

> > cms@mypost.se

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> >> Dear Magnus:

> >>

> >> There is no samples related to ASP.NET Themes. However, I will log your

> >> suggestion.

> >>

> >> Using skins with Gauges works similarly as the other ASP.NET controls.

> > Here

> >> is a skin I just created:

> >>

> >> <ChartFXGauge:RadialScale>

> >> <Bar Color="Blue"></Bar>

> >> <Indicators>

> >> <ChartFXGauge:Needle Style="needle11" />

> >> </Indicators>

> >> </ChartFXGauge:RadialScale>

> >

> >

>

>

Link to post
Share on other sites

Hi

This is the one I use right now

<ChartFXGauge:RadialGauge ID="radialGauge" runat="server" ToolTip="KPI for

xxx" >

<InnerGauges>

<ChartFXGauge:InnerDigitalPanel LinkToMainValue="True">

<Layout Alignment="BottomCenter" />

<DigitalPanel runat="server" ID="DigitalPanel1" BackColor="White"

Height="50px" Width="200px">

</DigitalPanel>

</ChartFXGauge:InnerDigitalPanel>

</InnerGauges>

<Titles>

<ChartFXGauge:Title Color="SteelBlue" Font="Microsoft Sans Serif, Smaller,

style=Bold"

Text="Title" >

<Layout Alignment="BottomCenter" SerializableAnchorPoint="0, -0.4"

Target="AnchorPoint" />

</ChartFXGauge:Title>

</Titles>

<Scales>

<ChartFXGauge:RadialScale Min="-100" MinAlwaysDisplayed="True" Color="215,

225, 243">

<Indicators>

<ChartFXGauge:Needle />

</Indicators>

<Bar Color="215, 225, 243">

</Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

"Software FX Support" <support@softwarefx.com> wrote in message

news:cQ6G02OwGHA.1280@webserver3.softwarefx.com...

> Dear Magnus:

>

> What is the markup of gauge in your aspx page?

>

> Regards,

>

> --

> PR

>

> "Magnus Salgo" <mgns@novonordisk.com> wrote in message

> news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> > Thanks for your help

> >

> > If I don't have the ChartFXGauge:RadialScale part in my skin then it

works

> > great...

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > If I add ChartFXGauge:RadialScale then I get an exception

> >

> >

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > <ChartFXGauge:RadialScale>

> > <Bar Color="Blue"></Bar>

> > </ChartFXGauge:RadialScale>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > " at

> > ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> > index, Object value)

> > at System.Collections.CollectionBase.RemoveAt(Int32 index)

> > at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> > at System.Collections.CollectionBase.Clear()

> > at ASP.Default.__BuildControl__control12(Control ctrl) in

c:\mgns\Visual

> > Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> > at System.Web.UI.ControlSkin.ApplySkin(Control control)

> > at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> > at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> > at System.Web.UI.Control.ApplySkin(Page page)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> > at System.Web.UI.ControlCollection.Add(Control child)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartHelper(WebPart webPart)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> > webParts)"

> >

> >

> > The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> > webparts

> >

> > Regards

> > Magnus

> > cms@mypost.se

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> >> Dear Magnus:

> >>

> >> There is no samples related to ASP.NET Themes. However, I will log your

> >> suggestion.

> >>

> >> Using skins with Gauges works similarly as the other ASP.NET controls.

> > Here

> >> is a skin I just created:

> >>

> >> <ChartFXGauge:RadialScale>

> >> <Bar Color="Blue"></Bar>

> >> <Indicators>

> >> <ChartFXGauge:Needle Style="needle11" />

> >> </Indicators>

> >> </ChartFXGauge:RadialScale>

> >

> >

>

>

Link to post
Share on other sites

Hi

This the Gauge definition I have that is used in a Webpart to display some

KPI:s

<ChartFXGauge:RadialGauge ID="radialGauge" runat="server" ToolTip="KPI for

xxx" >

<InnerGauges>

<ChartFXGauge:InnerDigitalPanel LinkToMainValue="True">

<Layout Alignment="BottomCenter" />

<DigitalPanel runat="server" ID="DigitalPanel1" BackColor="White"

Height="50px" Width="200px">

</DigitalPanel>

</ChartFXGauge:InnerDigitalPanel>

</InnerGauges>

<Titles>

<ChartFXGauge:Title Color="SteelBlue" Font="Microsoft Sans Serif, Smaller,

style=Bold"

Text="Title" >

<Layout Alignment="BottomCenter" SerializableAnchorPoint="0, -0.4"

Target="AnchorPoint" />

</ChartFXGauge:Title>

</Titles>

<Scales>

<ChartFXGauge:RadialScale Min="-100" MinAlwaysDisplayed="True" Color="215,

225, 243">

<Indicators>

<ChartFXGauge:Needle />

</Indicators>

<Bar Color="215, 225, 243">

</Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

"Software FX Support" <support@softwarefx.com> wrote in message

news:cQ6G02OwGHA.1280@webserver3.softwarefx.com...

> Dear Magnus:

>

> What is the markup of gauge in your aspx page?

>

> Regards,

>

> --

> PR

>

> "Magnus Salgo" <mgns@novonordisk.com> wrote in message

> news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> > Thanks for your help

> >

> > If I don't have the ChartFXGauge:RadialScale part in my skin then it

works

> > great...

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > If I add ChartFXGauge:RadialScale then I get an exception

> >

> >

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > <ChartFXGauge:RadialScale>

> > <Bar Color="Blue"></Bar>

> > </ChartFXGauge:RadialScale>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > " at

> > ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> > index, Object value)

> > at System.Collections.CollectionBase.RemoveAt(Int32 index)

> > at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> > at System.Collections.CollectionBase.Clear()

> > at ASP.Default.__BuildControl__control12(Control ctrl) in

c:\mgns\Visual

> > Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> > at System.Web.UI.ControlSkin.ApplySkin(Control control)

> > at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> > at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> > at System.Web.UI.Control.ApplySkin(Page page)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> > at System.Web.UI.ControlCollection.Add(Control child)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartHelper(WebPart webPart)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> > webParts)"

> >

> >

> > The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> > webparts

> >

> > Regards

> > Magnus

> > cms@mypost.se

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> >> Dear Magnus:

> >>

> >> There is no samples related to ASP.NET Themes. However, I will log your

> >> suggestion.

> >>

> >> Using skins with Gauges works similarly as the other ASP.NET controls.

> > Here

> >> is a skin I just created:

> >>

> >> <ChartFXGauge:RadialScale>

> >> <Bar Color="Blue"></Bar>

> >> <Indicators>

> >> <ChartFXGauge:Needle Style="needle11" />

> >> </Indicators>

> >> </ChartFXGauge:RadialScale>

> >

> >

>

>

Link to post
Share on other sites

Hi

This the Gauge definition I have that is used in a Webpart to display some

KPI:s

<ChartFXGauge:RadialGauge ID="radialGauge" runat="server" ToolTip="KPI for

xxx" >

<InnerGauges>

<ChartFXGauge:InnerDigitalPanel LinkToMainValue="True">

<Layout Alignment="BottomCenter" />

<DigitalPanel runat="server" ID="DigitalPanel1" BackColor="White"

Height="50px" Width="200px">

</DigitalPanel>

</ChartFXGauge:InnerDigitalPanel>

</InnerGauges>

<Titles>

<ChartFXGauge:Title Color="SteelBlue" Font="Microsoft Sans Serif, Smaller,

style=Bold"

Text="Title" >

<Layout Alignment="BottomCenter" SerializableAnchorPoint="0, -0.4"

Target="AnchorPoint" />

</ChartFXGauge:Title>

</Titles>

<Scales>

<ChartFXGauge:RadialScale Min="-100" MinAlwaysDisplayed="True" Color="215,

225, 243">

<Indicators>

<ChartFXGauge:Needle />

</Indicators>

<Bar Color="215, 225, 243">

</Bar>

</ChartFXGauge:RadialScale>

</Scales>

</ChartFXGauge:RadialGauge>

"Software FX Support" <support@softwarefx.com> wrote in message

news:cQ6G02OwGHA.1280@webserver3.softwarefx.com...

> Dear Magnus:

>

> What is the markup of gauge in your aspx page?

>

> Regards,

>

> --

> PR

>

> "Magnus Salgo" <mgns@novonordisk.com> wrote in message

> news:ropxhJ3vGHA.2572@webserver3.softwarefx.com...

> > Thanks for your help

> >

> > If I don't have the ChartFXGauge:RadialScale part in my skin then it

works

> > great...

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > If I add ChartFXGauge:RadialScale then I get an exception

> >

> >

> > <ChartFXGauge:RadialGauge runat="server" BackColor="Gray">

> > <Border Color=Yellow />

> > <Scales>

> > <ChartFXGauge:RadialScale>

> > <Bar Color="Blue"></Bar>

> > </ChartFXGauge:RadialScale>

> > </Scales>

> > </ChartFXGauge:RadialGauge>

> >

> > " at

> > ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnRemove(Int32

> > index, Object value)

> > at System.Collections.CollectionBase.RemoveAt(Int32 index)

> > at ChartFX.WebForms.Gauge.Primitives.ElementItemCollection.OnClear()

> > at System.Collections.CollectionBase.Clear()

> > at ASP.Default.__BuildControl__control12(Control ctrl) in

c:\mgns\Visual

> > Studio 2005\WebSites\NNSKPI\App_Themes\Default\Default.skin:line 18

> > at System.Web.UI.ControlSkin.ApplySkin(Control control)

> > at System.Web.UI.PageTheme.ApplyControlSkin(Control control)

> > at System.Web.UI.Page.ApplyControlSkin(Control ctrl)

> > at System.Web.UI.Control.ApplySkin(Page page)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.InitRecursive(Control namingContainer)

> > at System.Web.UI.Control.AddedControl(Control control, Int32 index)

> > at System.Web.UI.ControlCollection.Add(Control child)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartHelper(WebPart webPart)

> > at

> >

System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlColle

> > ction.AddWebPartsFromZone(WebPartZoneBase zone, WebPartCollection

> > webParts)"

> >

> >

> > The application I build is ASP.NET 2.0 using Master /Pages, Themes and

> > webparts

> >

> > Regards

> > Magnus

> > cms@mypost.se

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:5HfP7YVvGHA.1292@webserver3.softwarefx.com...

> >> Dear Magnus:

> >>

> >> There is no samples related to ASP.NET Themes. However, I will log your

> >> suggestion.

> >>

> >> Using skins with Gauges works similarly as the other ASP.NET controls.

> > Here

> >> is a skin I just created:

> >>

> >> <ChartFXGauge:RadialScale>

> >> <Bar Color="Blue"></Bar>

> >> <Indicators>

> >> <ChartFXGauge:Needle Style="needle11" />

> >> </Indicators>

> >> </ChartFXGauge:RadialScale>

> >

> >

>

>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...