This question is locked. New answers and comments are not allowed.
Hi, all.
How can I change the fontsize of CategoricalAxis and LinearAxis by binding?
While I changing the binding value, the fontsize is right, but the label's position is error.
Thanks.
The binding code is as follows, and the error image is error1.jpg.
How can I change the fontsize of CategoricalAxis and LinearAxis by binding?
While I changing the binding value, the fontsize is right, but the label's position is error.
Thanks.
The binding code is as follows, and the error image is error1.jpg.
<
chart:RadCartesianChart.HorizontalAxis
>
<
chartView:CategoricalAxis
ElementBrush
=
"{Binding Settings.AxisColor}"
FontSize
=
"{Binding Settings.LengedSize}"
/>
</
chart:RadCartesianChart.HorizontalAxis
>
<
chart:RadCartesianChart.VerticalAxis
>
<
chartView:LinearAxis
ElementBrush
=
"{Binding Settings.AxisColor}"
FontSize
=
"{Binding Settings.LengedSize}"
/>
</
chart:RadCartesianChart.VerticalAxis
>
<
chart:RadCartesianChart.Grid
>
<
chartView:CartesianChartGrid
MajorLinesVisibility
=
"{Binding Settings.Line}"
/>
</
chart:RadCartesianChart.Grid
>