This is a migrated thread and some comments may be shown as answers.

The Axis Label problem.

2 Answers 92 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Xu
Top achievements
Rank 1
Xu asked on 01 Aug 2012, 09:41 AM
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.
<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>

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosko
Telerik team
answered on 06 Aug 2012, 09:44 AM
Hi Xu,

We have investigated the behavior and it appears to be a bug. As a sign of gratitude your telerik points have been updated. You can follow its progress and vote for it on our PITS. For the time being, I can only suggest to have a fixed FontSize. Please, excuse as for the caused inconvinience.

Greetings,
Rosko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Xu
Top achievements
Rank 1
answered on 08 Aug 2012, 11:16 PM
Oh, really thank you, Rosko.
I will have a fixed FontSize or allow changing the FontSize but a restart would be needed.
Thanks again.

Tags
ChartView
Asked by
Xu
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Xu
Top achievements
Rank 1
Share this question
or