Hi
Is it even possible to show/display the pointer on the correct place when the Value is a decimal(double) and not just an Integer?
E.g. I have a linear gauge representing thermometer with range from -30 to +30° divided into segments of 5°, so the tick
is e.g. placed on 12.5°. But when the pointer is set to 12.5 it is drawn on 12 and not directly on 12.5 tick line.
It looks that just an integer part of the value is used to calculate the pointer position.
<gauge:SfLinearGauge.Scales>
<gauge:LinearScale ScaleBarSize="15" MinorTicksPerInterval="1" MinimumValue="-30.0" MaximumValue="30.0">
<gauge:LinearScale.Pointers>
<gauge:BarPointer Value="12.5" EnableAnimation="true" Color="#BBFFFFFF" Thickness="6" CornerRadiusType="End" CornerRadius="3"/>
</gauge:LinearScale.Pointers>
</gauge:LinearScale>
/gauge:SfLinearGauge.Scales>
Attachment:
barpointer_8e30f8e3.zip