This is a migrated thread and some comments may be shown as answers.

Color of the radial gauge

2 Answers 35 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Nilesh Kute
Top achievements
Rank 1
Nilesh Kute asked on 14 Apr 2010, 06:23 AM
I have Visifire Chart license. My Unique customer ID is: KQ373864

I am using RAD gauge. please help me to know how to change the color of the radial gauge without changing the theme.



Regards,
Nilesh

2 Answers, 1 is accepted

Sort by
0
Nilesh Kute
Top achievements
Rank 1
answered on 14 Apr 2010, 06:25 AM
I have Silverlight for RAD control license. My Unique customer ID is: KQ373864

I am using RAD gauge. please help me to know how to change the color of the radial gauge without changing the theme.



Regards,
Nilesh
0
Sia
Telerik team
answered on 16 Apr 2010, 09:37 AM
Hello Nilesh Kute,

At the present time the possible solution you can use is to remove the RadialGauge container from the structure of your RadGauge and put the background you need under the RadGauge. This solution works if you use only one RadialScale element in your RadGauge.

Example:
<Ellipse Fill="Red" Width="240" Height="240" />
 
<telerik:RadGauge Name="RadGauge1" Width="240" Height="240" >
   <gauge:RadialScale Name="radialScale"
                      Min="0"
                      Max="8000"
                      IsInteractive="True"
                      IsLabelRotated="True"
                      MinorTicks="3">
      <gauge:RangeList>
          <gauge:RadialRange Min="70"
                             Max="5600"
                             StartWidth="0"
                             EndWidth="0.15" />
      </gauge:RangeList>
      <gauge:TickList>
           <gauge:CustomTickMark Value="4000" />
      </gauge:TickList>
      <gauge:RadialScale.Indicators>
           <gauge:Needle  IsAnimated="True" SnapType="ToGrid" Value="3000" />
           <gauge:RadialBar Name="radialBar" Value="3200"/>
           <gauge:Marker x:Name="marker" />
           <gauge:StateIndicator Name="stateIndicator" />
      </gauge:RadialScale.Indicators>
   </gauge:RadialScale>
</telerik:RadGauge>

Hope this helps.
 
Sincerely yours,
Sia
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Gauge
Asked by
Nilesh Kute
Top achievements
Rank 1
Answers by
Nilesh Kute
Top achievements
Rank 1
Sia
Telerik team
Share this question
or