Negative values in RagGauge

2 posts, 0 answers
  1. Boris
    Boris avatar
    1 posts
    Member since:
    May 2011

    Posted 31 May 2011 Link to this post

    Hello. Write code:

    <telerik:RadialScale x:Name="radialScale2"
         Max="4"
         Min="-4">
                   
    </telerik:RadialScale>

    Result scale: -4 -3 -2 -2 0 1 2 3 4

    Or

    Min = -5

    -5 -4 -3 -2 -1 -1 0 1 2 3 4

    Why so? Thanks.
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 02 Jun 2011 Link to this post

    Hi Boris,

    The radial scale has the default value for number of its tick marks. When you change the Min / Max properties of the scale then usually you should change the MajorTicks property (number of tick marks).

     

    <telerik:RadialScale Min="-4" Max="4" MajorTicks="8" />

    Also as another way you can specify the MajorTickStep property.

    <telerik:RadialScale Min="-4" Max="4" MajorTickStep="1" />

    For more information you can take a look at the following documantation topics:
    http://www.telerik.com/help/silverlight/radial-scale-tick-marks.html
    http://www.telerik.com/help/silverlight/radial-scale-labels.html


    Regards,
    Andrey Murzov
    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 banner
Back to Top