Axis label alignment

2 posts, 0 answers
  1. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 19 Oct 2010 Link to this post

    Check out the Y axis label alignment on the attached screen shot.  How can I make the labels right aligned?
  2. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 20 Oct 2010 Link to this post

    Hello Jeff Kershner,

    Thank you for contacting us.

    This behavior is intended because of the layout mode of bar charts.
    The default layout mode for Bar series type is "Between" and the ticks are between the bars while the label is under the bar.

    You can change the layout mode to "Inside" so that the tick is under the bar.

    this.RC1.DefaultView.ChartArea.AxisX.LayoutMode = AxisLayoutMode.Inside;

    Let me know if this helped you out.
     

    Sincerely yours,
    Evgeni "Zammy" Petrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top