Hello,
I'm currently implementing a radGauge using Telerik's internal build version (2009_3_1211_Dev). I needed to use this version because of the chart performance issues.
Now I am trying to set the "UseRangeColor" as follows:
This all works great except I can't understand from the help how the UseRangeColor should be better implemented? This sets the first range's colour automatically. placing the radialscale.label part before the rangelists part, or pasting it 3 times, do not make a difference. I am attaching a screenshot of my result.
Please advise!
Regards,
Paul
I'm currently implementing a radGauge using Telerik's internal build version (2009_3_1211_Dev). I needed to use this version because of the chart performance issues.
Now I am trying to set the "UseRangeColor" as follows:
<control:RadGauge x:Name="radGauge" Width="300" Height="300"> |
<gauge:RadialGauge> |
<gauge:RadialScale Min="0" Max="1000" Radius="0.9" StartWidth="0.1" EndWidth="0.15" Background="#44DDCCFF"> |
<gauge:IndicatorList> |
<gauge:Needle x:Name="needle" /> |
</gauge:IndicatorList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Green" |
Min="0" |
Max="333" |
StartWidth="0.025" |
EndWidth="0.03" |
Location="Inside" |
Background="CadetBlue" |
BorderBrush="CadetBlue" |
LabelForeground="MediumSpringGreen"/> |
</gauge:RangeList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Yellow" |
Min="333" |
Max="666" |
StartWidth="0.03" |
EndWidth="0.03" |
Location="Inside" |
Background="PeachPuff" |
BorderBrush="PeachPuff" |
LabelForeground="YellowGreen"/> |
</gauge:RangeList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Red" |
Min="666" |
Max="1000" |
StartWidth="0.03" |
EndWidth="0.035" |
Location="Inside" |
Background="Tomato" |
BorderBrush="Tomato" |
LabelForeground="Crimson"/> |
</gauge:RangeList> |
<gauge:RadialScale.Label> |
<gauge:LabelProperties Location="Inside" UseRangeColor="True"/> |
</gauge:RadialScale.Label> |
</gauge:RadialScale> |
</gauge:RadialGauge> |
</control:RadGauge> |
This all works great except I can't understand from the help how the UseRangeColor should be better implemented? This sets the first range's colour automatically. placing the radialscale.label part before the rangelists part, or pasting it 3 times, do not make a difference. I am attaching a screenshot of my result.
Please advise!
Regards,
Paul