Displaying decimals in radial gauge

3 posts, 0 answers
  1. macky
    macky avatar
    11 posts
    Member since:
    May 2009

    Posted 03 Aug 2010 Link to this post

    Hi,

    Due to the min and max numbers I am providing (values are not far apart), I get the same number displayed twice on the radial gauge. Is there a way to show the decimal value to 1 decimal place for the numbers displayed, or can I limit the amount of numbers displayed (i.e. my starting number is 54 and ending is 63. Currently I have 11 numbers displayed on the gauge. Is there a way to reduce the amount of numbers displayed).

    Thanks,
    Mac
     

    Please ignore this post... I've got the solution.
  2. Mukesh
    Mukesh avatar
    4 posts
    Member since:
    Oct 2012

    Posted 15 Apr 2013 Link to this post

    Hi,
    I am facing similar issue on gauges. I have set Max=1, Min=-1 and showing 5 major ticks. so the readings on UI should be displayed as -1, -0.5, 0, 0.5 and 1. But it shows indicators as  -1, -1, 0, 1 and 1

    could you please share the solution you have got.
  3. DevCraft banner
  4. Mukesh
    Mukesh avatar
    4 posts
    Member since:
    Oct 2012

    Posted 15 Apr 2013 Link to this post

    I have got following solution

    <
    telerik:RadGauge Width="300" Height="300">
        <telerik:RadialGauge>
            <telerik:RadialScale x:Name="radialScale"
                                 Min="0" Max="1.2"
                                 MajorTickStep="0.1">
                <telerik:RadialScale.Label>
                     <telerik:LabelProperties Format="{}{0:F1}" />
                 </telerik:RadialScale.Label>
                 <telerik:IndicatorList>
                     <telerik:Needle x:Name="needle"
                                     IsAnimated="True"
                                     Value="0.75"/>
                 </telerik:IndicatorList>
             </telerik:RadialScale>
         </telerik:RadialGauge>
    </telerik:RadGauge>

Back to Top