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

Axis label alignment

1 Answer 72 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jeff Kershner
Top achievements
Rank 1
Jeff Kershner asked on 19 Oct 2010, 04:55 PM
Check out the Y axis label alignment on the attached screen shot.  How can I make the labels right aligned?

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 20 Oct 2010, 05:37 PM
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
Tags
Chart
Asked by
Jeff Kershner
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or