Hi there,
I'm trying to hide the labels of the bar and I want to move the lines to the bottom.
I found out that I can hide labels by setting the LabelUseRangeColor to true. I don't think this is the correct way. Can anyone help me with this?
I also want to move the lines from the top top the bottom of the RadHorizontalLinearGauge.
01.
<
telerik:RadHorizontalLinearGauge
Width
=
"250"
02.
Height
=
"100"
03.
telerik:StyleManager.Theme
=
"Windows8"
>
04.
<
telerik:HorizontalLinearScale
Min
=
"0"
05.
Max
=
"100"
06.
LabelLocation
=
"CenterInside"
07.
LabelUseRangeColor
=
"True"
>
<!-- LabelUseRangeColor turns off the label -->
08.
<
telerik:HorizontalLinearScale.Indicators
>
09.
<
telerik:BarIndicator
Value
=
"60"
10.
UseRangeColor
=
"True"
/>
11.
</
telerik:HorizontalLinearScale.Indicators
>
12.
<
telerik:HorizontalLinearScale.CustomItems
>
13.
<
Border
BorderBrush
=
"#FF606060"
14.
BorderThickness
=
"1,0"
15.
telerik:ScaleObject.Value
=
"50"
16.
telerik:ScaleObject.Location
=
"OverCenter"
17.
telerik:ScaleObject.RelativeHeight
=
"0.14*"
18.
telerik:ScaleObject.RelativeWidth
=
"0.8*"
>
19.
<
Border.LayoutTransform
>
20.
<
RotateTransform
Angle
=
"90"
/>
21.
</
Border.LayoutTransform
>
22.
</
Border
>
23.
</
telerik:HorizontalLinearScale.CustomItems
>
24.
<
telerik:HorizontalLinearScale.Ranges
>
25.
<
telerik:GaugeRange
Min
=
"0"
26.
Max
=
"20"
27.
IndicatorBackground
=
"Red"
/>
28.
<
telerik:GaugeRange
Min
=
"20"
29.
Max
=
"40"
30.
IndicatorBackground
=
"OrangeRed"
/>
31.
<
telerik:GaugeRange
Min
=
"40"
32.
Max
=
"100"
33.
IndicatorBackground
=
"LimeGreen"
/>
34.
</
telerik:HorizontalLinearScale.Ranges
>
35.
</
telerik:HorizontalLinearScale
>
36.
</
telerik:RadHorizontalLinearGauge
>