Im in the process of putting together a working sample of gauge controls for a dashboard.
Many of the metrics deal with scales that are very small such as 99.9xx - 100.
This works just fine however my start value is rounded up to 100 when the gauge is rendered. This makes the guage show 100 - 100 for the range which is incorrect. Is there a way to have the gauge display the actual Min value for the radialScale?
Screenshot attached to show.
Thanks
Many of the metrics deal with scales that are very small such as 99.9xx - 100.
This works just fine however my start value is rounded up to 100 when the gauge is rendered. This makes the guage show 100 - 100 for the range which is incorrect. Is there a way to have the gauge display the actual Min value for the radialScale?
<Grid x:Name="LayoutRoot"> |
<control:RadGauge x:Name="radGauge" Width="300" Height="300"> |
<gauge:RadialGauge> |
<gauge:RadialScale x:Name="radialScale" Min="99.90" Max="100" Radius="0.9" StartWidth="0.1" EndWidth="0.15" Background="#44DDCCFF" MajorTickStep=".10" > |
<gauge:IndicatorList> |
<gauge:Needle x:Name="needle" Value="99.94"/> |
<!-- <gauge:RadialBar x:Name="radialBar" Value="99.94" Background="Yellow"/> --> |
</gauge:IndicatorList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Blue" |
Min="99.970" |
Max="100" |
StartWidth="0.025" |
EndWidth="0.035" |
Location="Outside" |
Background="Blue" |
BorderBrush="Blue" |
LabelForeground="Blue"/> |
</gauge:RangeList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Green" |
Min="99.960" |
Max="99.9699" |
StartWidth="0.025" |
EndWidth="0.035" |
Location="Outside" |
Background="Green" |
BorderBrush="Green" |
LabelForeground="Green"/> |
</gauge:RangeList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Yellow" |
Min="99.940" |
Max="99.9599" |
StartWidth="0.03" |
EndWidth="0.035" |
Location="Outside" |
Background="Yellow" |
BorderBrush="Yellow" |
LabelForeground="Yellow"/> |
</gauge:RangeList> |
<gauge:RangeList> |
<gauge:RadialRange |
Name="Red" |
Min="99.90" |
Max="99.9399" |
StartWidth="0.03" |
EndWidth="0.035" |
Location="Outside" |
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> |
</Grid> |
Screenshot attached to show.
Thanks