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

Negative values in RagGauge

1 Answer 65 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 31 May 2011, 08:45 AM
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.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 02 Jun 2011, 08:30 AM
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
Tags
Gauge
Asked by
Boris
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or