This question is locked. New answers and comments are not allowed.
I have in my application that change the properties Max and MajorTickStep in time execution, but when I change the value Max to 6000000 and MajorTickStep to 2000000, my application hangs.
The code of the gauge is:
| <telerik:RadGauge> |
| <gauge:RadialGauge> |
| <gauge:RadialScale Name="radialScale" Min="0" Max="3" MajorTickStep="1000"> |
| <gauge:IndicatorList> |
| <gauge:Needle Name="needle" Value="1.5" IsAnimated="True" /> |
| <gauge:NumericIndicator Name="numericIndicator" |
| Format="{}{0:F2}" |
| Left="0.32" |
| Top="0.65" |
| RelativeWidth="0.55" |
| RelativeHeight="0.16" |
| Value="1.5"> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| <gauge:NumberPosition /> |
| </gauge:NumericIndicator> |
| </gauge:IndicatorList> |
| <gauge:RangeList> |
| <gauge:RadialRange Name="cor1" Min="0" |
| Max="1" |
| Location="OverCenter" |
| StartWidth="0.1" |
| EndWidth="0.1" |
| Background="Green" |
| BorderBrush="Green"/> |
| <gauge:RadialRange Name="cor2" Min="1" |
| Max="2" |
| Location="OverCenter" |
| StartWidth="0.1" |
| EndWidth="0.1" |
| Background="Yellow" |
| BorderBrush="Yellow"/> |
| <gauge:RadialRange Name="cor3" Min="2" |
| Max="3" |
| Location="OverCenter" |
| StartWidth="0.1" |
| EndWidth="0.1" |
| Background="Red" |
| BorderBrush="Red"/> |
| </gauge:RangeList> |
| </gauge:RadialScale> |
| </gauge:RadialGauge> |
| </telerik:RadGauge> |
Thanks,
Renato de Moraes Felipe