Gauges
Top achievements
Rank 1
Daniel Ruehle asked on 28 Jul 2010, 12:40 PM
Hello telerikTeam,

I have a question about the radneedle value-property namely what is the simplest way to achieve following:

I have a radgauge for RPM my ticks are going from 1-10, it means that the 1 represent 1000 and 10 = 10000. So my problem is when I set value of the needle to 1000 needle shows something wrong.. I want the the needle stays at 1.

Have I to divide the needle by 1000, or is there a better Way to manage this issue ?

Thnx

Daniel

## 4 Answers, 1 is accepted

0
Andrey
Telerik team
answered on 28 Jul 2010, 05:31 PM
Hello Daniel Ruehle,

You can use the Multiplier property of the scale. The sample code is below.
`<``telerik:RadGauge``> `
`    ``<``telerik:RadialGauge``> `
`        ``<``telerik:RadialScale` `Multiplier``=``"0.001"`
`                             ``Max``=``"10000"`
`                             ``Min``=``"1000"`
`                             ``MajorTicks``=``"9"``> `
`            ``<``telerik:IndicatorList``> `
`                ``<``telerik:Needle` `Value``=``"1000"` `/> `
`            ``</``telerik:IndicatorList``> `
`        ``</``telerik:RadialScale``> `
`    ``</``telerik:RadialGauge``> `
`</``telerik:RadGauge``> `

Kind 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
0
Daniel Ruehle
Top achievements
Rank 1
answered on 29 Jul 2010, 08:28 AM
Hello Andrey,

Thanks a lot for the Info.

BR,

Daniel
0
Daniel Ruehle
Top achievements
Rank 1
answered on 11 Nov 2010, 03:13 PM
Hello,

If I use the multiplier for the scale, then multiplier takes effect on all other indicators within the scale. e.g nummericindicator.
Is it possible to break this dependency ? I want to use the multiplier for the scale, but not for the numericindicator within the scale.

Thnak you,

Best regards,
Daniel
0
Andrey
Telerik team
answered on 15 Nov 2010, 04:43 PM
Hi Daniel Ruehle,

You can use additional scale without using the multiplier. The sample code below uses additional scale for numeric indicator without ticks and labels.
`<``telerik:RadGauge``> `
`    ``<``telerik:RadialGauge``> `
`        ``<``telerik:RadialScale` `Max``=``"10000"`
`                             ``Min``=``"1000"`
`                             ``MajorTicks``=``"-1"``> `
`            ``<``telerik:IndicatorList``> `
`                ``<``telerik:NumericIndicator` `Top``=``"0.7"`
`                                          ``Left``=``"0.395"`
`                                          ``BorderThickness``=``"0"`
`                                          ``RelativeHeight``=``"0.2"`
`                                          ``RelativeWidth``=``"0.4"`
`                                          ``FontFamily``=``"Arial"`
`                                          ``FontSize``=``"18"`
`                                          ``Format``=``"{}{0:F0}"`
`                                          ``Value``=``"1000"``> `
`                    ``<``telerik:NumberPosition` `/> `
`                    ``<``telerik:NumberPosition` `/> `
`                    ``<``telerik:NumberPosition` `/> `
`                    ``<``telerik:NumberPosition` `/> `
`                    ``<``telerik:NumberPosition` `/> `
`                ``</``telerik:NumericIndicator``> `
`            ``</``telerik:IndicatorList``> `
`        ``</``telerik:RadialScale``> `
`        ``<``telerik:RadialScale` `Multiplier``=``"0.001"`
`                             ``Max``=``"10000"`
`                             ``Min``=``"1000"`
`                             ``MajorTicks``=``"9"``> `
`            ``<``telerik:IndicatorList``> `
`                ``<``telerik:Needle` `Value``=``"1000"` `/> `
`            ``</``telerik:IndicatorList``> `
`        ``</``telerik:RadialScale``> `
`    ``</``telerik:RadialGauge``> `
`</``telerik:RadGauge``> `

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
Gauges