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.

    The binding code is as follows, and the error image is error1.jpg.
                        <chartView:CategoricalAxis ElementBrush="{Binding Settings.AxisColor}" FontSize="{Binding Settings.LengedSize}"/>
                        <chartView:LinearAxis ElementBrush="{Binding Settings.AxisColor}" FontSize="{Binding Settings.LengedSize}" />
                        <chartView:CartesianChartGrid MajorLinesVisibility="{Binding Settings.Line}"/>
  2. Answer
    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.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
  4. 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