Nested Radial Scales

2 posts, 0 answers
  1. DeWayne Evans
    DeWayne Evans avatar
    3 posts
    Member since:
    Feb 2010

    Posted 12 Feb 2010 Link to this post

    Looking through the Help files and came across a radial scale that I could use. Unfortunately no code is provided on how it was accomplished.
    Radial Scale Overview

    I've tried the position it using Location="Center", VerticalAlignment="Center" Padding and several others but with no luck.

  2. Sia
    Sia avatar
    667 posts

    Posted 17 Feb 2010 Link to this post

    Hello DeWayne Evans,

    You can accomplish the needed design by adding two RadialScale-s. I have also attached image of the Gauge which is achieved with the following xaml:

    <UserControl x:Class="SilverlightApplication2.MainPage"
      <Grid x:Name="LayoutRoot">
                        <ResourceDictionary Source="/Telerik.Windows.Themes.Summer;component/Themes/Telerik.Windows.Controls.Gauge.xaml" />
            <telerik:RadGauge Name="RadGauge1" controls:StyleManager.Theme="Summer">
                <gauge:RadialGauge Name="RadialGauge1" Width="300" Height="300" >
                    <gauge:RadialScale Name="radialScale2" Min="0" Max="800" IsInteractive="True" IsLabelRotated="True" MinorTicks="3" Background="#CCED9C00" Radius="0.6">
                        <gauge:RadialScale.Label >
                            <gauge:LabelProperties Location="Inside" />
                    <gauge:RadialScale Name="radialScale" Min="0" Max="800" IsInteractive="True" IsLabelRotated="True" MinorTicks="3" Background="#CCFF6B36">
                        <gauge:RadialScale.MajorTick >
                            <gauge:MajorTickProperties  TooltipFormat="Major tick value {0:F0}"  />
                        <gauge:RadialScale.Label >
                            <gauge:LabelProperties Location="Inside"  />
                            <gauge:Needle  IsAnimated="True" SnapType="ToGrid" Value="2000" />

    Hope this helps.

    Sincerely yours,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top