Color of the radial gauge

3 posts, 0 answers
  1. Nilesh Kute
    Nilesh Kute avatar
    3 posts
    Member since:
    Mar 2010

    Posted 14 Apr 2010 Link to this post

    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. Nilesh Kute
    Nilesh Kute avatar
    3 posts
    Member since:
    Mar 2010

    Posted 14 Apr 2010 Link to this post

    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
  3. DevCraft banner
  4. Sia
    Admin
    Sia avatar
    667 posts

    Posted 16 Apr 2010 Link to this post

    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.
Back to Top