minimum and maximum

4 posts, 0 answers
1. Бежнар
27 posts
Member since:
Aug 2010

Posted 16 Dec 2010 Link to this post

Good day!
What method can be used to specify the minimum and maximum values for the Gauge control, which is similar to the functional setup ranking axis control Chart for example:
`chartArea.AdditionalYAxes[i].AutoRange = ``false``;`
`chartArea.AdditionalYAxes[i].AddRange(itemUP.minY, itemUP.maxY, itemUP.step);`

2. Andrey
1681 posts

Posted 17 Dec 2010 Link to this post

Hi Sergey,

If you are talking about minimum and maximum scale values, then you should use Min and Max properties of the scale object.

`<``telerik:RadGauge``> `
`    ``<``telerik:RadialGauge``> `
`        ``<``telerik:RadialScale` `Name``=``"radialScale"` `Min``=``"20"` `Max``=``"300"``> `
`            ``<``telerik:IndicatorList``> `
`                ``<``telerik:Needle` `Value``=``"40"` `/> `
`            ``</``telerik:IndicatorList``> `
`        ``</``telerik:RadialScale``> `
`    ``</``telerik:RadialGauge``> `
`</``telerik:RadGauge``> `

`this``.radialScale.Max = 300; `
`this``.radialScale.Min = 20; `

Let me know how this helps, or whether I am leaving something out.

Kind regards,
Andrey Murzov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
3. Бежнар
27 posts
Member since:
Aug 2010

Posted 01 Apr 2011 Link to this post

Super! But this method does not fit!
Try to programmatically (in code) set the time step of 0.01 marks, at least 0, maximums of 1, and then back at least to 0, a maximum of 300.
As a result - to get a long drawing of control!