
How can I put the value of a linear marker over the marker graphic?
I have tried the following, but as the marker is drawn under the tickset I get tickmarks over the top of the marker.I think I need a LinearMarkerLabelCustom to do this? What is the workaround??
Thanks
Jason.
I have tried the following, but as the marker is drawn under the tickset I get tickmarks over the top of the marker.
<gauge:LinearTickSet.Pointers>
<gauge:LinearPointerMarker x:Name="markerSpeed" MarkerType="SwordSharp" ScalePlacement="Inside" PointerAscent="60px" PointerExtent="22px" Background="#EEEEEE" Value="0" ScaleOffset="5px" BorderBrush="White" BorderWidth="1" DampeningMaximumDuration="00:00:00" DampeningMinimumDuration="00:00:00" HasDropShadow="False" Opacity="1" />
</gauge:LinearTickSet.Pointers>
<gauge:LinearTickSet.Ticks>
<gauge:LinearTickMarkMinor TickMarkAscent="25px" ScalePlacement="Overlay" ScaleOffset="0px" Background="blue" StartValue="0" EndValue="250" SnapsToDevicePixels="False" TickMarkExtent="2px" />
<gauge:LinearTickMarkMajor TickMarkAscent="50px" TickMarkExtent="2" ScalePlacement="Overlay" ScaleOffset="0px" Background="red" StartValue="0" EndValue="250" MaximumTickVisibility="OnInterval" MinimumTickVisibility="OnInterval" SkipValues="0" />
<gauge:LinearTickLabelMajor FontFamily="Tahoma" FontSize="16" ScalePlacement="Inside" StartValue="0" EndValue="250" ScaleOffset="35px" Foreground="pink" MaximumTickVisibility="OnInterval" MinimumTickVisibility="OnInterval" />
<gauge:LinearTickLabelCustom FontFamily="Tahoma" FontSize="16" ScalePlacement="Inside" ScaleOffset="35px" Foreground="orange" Text="0" Value="0" Name="labelSpeed" />
</gauge:LinearTickSet.Ticks>
Thanks
Jason.