The Axis Label problem.

3 posts, 1 answers
  1. Xu
    Xu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post

    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. Answer
    Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 06 Aug 2012 Link to this post

    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.

  3. Xu
    Xu avatar
    4 posts
    Member since:
    Jul 2012

    Posted 08 Aug 2012 Link to this post

    Oh, really thank you, Rosko.
    I will have a fixed FontSize or allow changing the FontSize but a restart would be needed.
    Thanks again.

Back to Top