We have a RadVerticalLinearGauge as listed below. The floater indicator is essentially the maximum value within a time window determined from outside. I would like to have a number Just above or in the top of the floater indicator bar with the value.
Can this be achieved by templating the BarIndicator or is there some smart way with CustomItems?
Can this be achieved by templating the BarIndicator or is there some smart way with CustomItems?
<
telerik:RadVerticalLinearGauge
Grid.Row
=
"1"
Margin
=
"0,30"
telerik:StyleManager.Theme
=
"Windows8Touch"
>
<
telerik:VerticalLinearScale
Min
=
"{Binding Path=Min}"
Max
=
"{Binding Path=Max}"
RelativeHeight
=
"1"
RelativeY
=
"0"
RelativeWidth
=
"1"
RelativeX
=
"0.5"
LabelFormat
=
"{}{0:F0} µV"
StartWidth
=
"0.35"
EndWidth
=
"0.35"
>
<
telerik:VerticalLinearScale.Indicators
>
<
telerik:BarIndicator
UseRangeColor
=
"False"
StartWidth
=
"0.3"
EndWidth
=
"0.3"
Background
=
"{Binding Path=FloaterBrush}"
Visibility
=
"{Binding Path=IsFloaterVisible, Converter={StaticResource BooleanToVisibilityConverter}}"
Value
=
"{Binding Path=FloaterValue}"
RenderTransformOrigin
=
"0.5,0.5"
/>
<
telerik:BarIndicator
UseRangeColor
=
"False"
StartWidth
=
"0.3"
EndWidth
=
"0.3"
Background
=
"{Binding Path=DirectBrush}"
Value
=
"{Binding Path=DirectValue}"
/>
</
telerik:VerticalLinearScale.Indicators
>
</
telerik:VerticalLinearScale
>
</
telerik:RadVerticalLinearGauge
>