Hi,
is it possible to stretch the labels of an categorical axis? I want to create an axis like shown in the goal.jpg
I tried the following code to recived the wished layout:
<
telerik:CategoricalAxis
TickThickness
=
"0"
GapLength
=
"0.1"
>
<
telerik:CategoricalAxis.LabelTemplate
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Stretch"
>
<
Border
BorderBrush
=
"Black"
BorderThickness
=
"1,1,1,0"
>
<
TextBlock
Text
=
"{Binding}"
/>
</
Border
>
<
Border
BorderBrush
=
"Black"
BorderThickness
=
"1"
>
<
TextBlock
Text
=
"{Binding Text2}"
/>
</
Border
>
</
StackPanel
>
</
DataTemplate
>
</
telerik:CategoricalAxis.LabelTemplate
>
</
telerik:CategoricalAxis
>
But the label does not stretched it still fit ti it contents like shown in StretchedLabelResult.jpg
Does anyone have an idea how to recive the wished layout?