Right now I set up the label's margin in xaml
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
MajorTickLength
=
"0"
LineStroke
=
"Transparent"
>
<
telerik:CategoricalAxis.LabelStyle
>
<
Style
TargetType
=
"TextBlock"
>
<
Setter
Property
=
"Margin"
Value
=
"20 10 15 20"
/>
</
Style
>
</
telerik:CategoricalAxis.LabelStyle
>
</
telerik:CategoricalAxis.LabelStyle
>
</
telerik:RadCartesianChart.HorizontalAxis
>
But I want to use property binding, so I created the property in View Model. The type of property is Thickness. But it is not working. I doubt that CategoricalAxis doesn't support it because I saw an example.
Thanks for advice.