I'm trying to use a LinearScale outside of any gauge. I intend to use it as the y axis for a chart that's hosted inside of a TimeBar control. I'm noticing some weird scaling behavior. The tick marks get thicker and wider as the container gets longer. There doesn't seem to be any consideration of the width of the container, so the tick marks very quickly expand outside of the control.
I've attached an image of the LinearScale in two positions to illustrate the issue.
What can I do to prevent the tick marks from scaling like this?
Here is the xaml I've been testing with:
<
telerik:LinearScale
x:Name
=
"scaleHeader"
VerticalAlignment
=
"Top"
Width
=
"80"
Min
=
"0"
Max
=
"100"
Top
=
"0.05"
Background
=
"Transparent"
BorderBrush
=
"Transparent"
>
<
telerik:LinearScale.MajorTick
>
<
telerik:MajorTickProperties
Location
=
"OverInside"
Background
=
"Black"
TickWidth
=
".1"
/>
</
telerik:LinearScale.MajorTick
>
<
telerik:LinearScale.MiddleTick
>
<
telerik:MiddleTickProperties
Location
=
"OverInside"
Background
=
"Black"
/>
</
telerik:LinearScale.MiddleTick
>
<
telerik:LinearScale.MinorTick
>
<
telerik:MinorTickProperties
Location
=
"OverInside"
Background
=
"Black"
/>
</
telerik:LinearScale.MinorTick
>
<
telerik:LinearScale.Label
>
<
telerik:LabelProperties
Foreground
=
"Black"
Offset
=
"0.01"
/>
</
telerik:LinearScale.Label
>
</
telerik:LinearScale
>