Hello,
I'm having a little snapping issue with an interactive circular gauge. To describe this problem, I'm going to use the Sample Browse provided with the controls:
1. Go to 'Gauge' then select the 'Circular Gauge Interactive'
2. Check 'Is Snapping Enabled' and set the snapping interval to 5.
3. On the gauge, click near the 5 to set the value to 5.
Now I want to set the value to 0 by clicking near the 0, but outside the scale (where -0.5 would be) --> the value is set to 10, which is not the result I want, I would prefer if it was set to 0.
The behavior I'm observing with my gauge is a little different though. Here is the Xaml I'm using:On this gauge (having the default value set to 1), when I click near the 'S' (value 3), the value is set to 0. I would prefer if it was set to 3.
Is there a way to achieve this? Is there a setting I'm missing?
I'm having a little snapping issue with an interactive circular gauge. To describe this problem, I'm going to use the Sample Browse provided with the controls:
1. Go to 'Gauge' then select the 'Circular Gauge Interactive'
2. Check 'Is Snapping Enabled' and set the snapping interval to 5.
3. On the gauge, click near the 5 to set the value to 5.
Now I want to set the value to 0 by clicking near the 0, but outside the scale (where -0.5 would be) --> the value is set to 10, which is not the result I want, I would prefer if it was set to 0.
The behavior I'm observing with my gauge is a little different though. Here is the Xaml I'm using:
<Gauge:CircularScale StartAngle="225" SweepAngle="135" IsBarVisible="False">
<Gauge:CircularTickSet Minimum="0" Maximum="3" MajorInterval="1" MinorInterval="1">
<Gauge:CircularTickSet.Ticks>
<Gauge:CircularTickLabelCustom Value="0" Text="L" FontSize="18" ScaleOffset="-15" />
<Gauge:CircularTickLabelCustom Value="1" Text="N" FontSize="18" ScaleOffset="-15" />
<Gauge:CircularTickLabelCustom Value="2" Text="Å" FontSize="18" ScaleOffset="-15" />
<Gauge:CircularTickLabelCustom Value="3" Text="S" FontSize="18" ScaleOffset="-15" />
</Gauge:CircularTickSet.Ticks>
<Gauge:CircularTickSet.Pointers>
<Wpf:CircularPointerNeedleEnhanced Value="{Binding OutsideServiceKeySwitch, Mode=TwoWay, FallbackValue=1}"
ImageSource="/VirtualTrain;Component/Images/Selector.png" NeedleType="CustomImage" PointerExtent="10"
CanDrag="True" IsSnappingEnabled="True" HasDropShadow="False" IsDraggingAnimated="True" SnappingInterval="1" />
</Gauge:CircularTickSet.Pointers>
</Gauge:CircularTickSet>
</Gauge:CircularScale>
</Gauge:CircularGauge>
Is there a way to achieve this? Is there a setting I'm missing?