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

Align AxisY on multiple charts that are stacked

1 Answer 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
DMM
Top achievements
Rank 1
DMM asked on 29 Aug 2011, 11:55 PM
I have a scenario where I need to have multiple charts stacked.  I want to know how I could set the distances on the labels for the Y axis so that all of the charts line up.  If the charts have different label precision and formatting, they do not line up and this is not desirable. Please advise.

Thanks,
David

I uploaded a pic here to show what I mean:
http://i56.tinypic.com/15xlp5k.png

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 01 Sep 2011, 03:28 PM
Hello David,

The problem occurs as your YAxis labels have different Width for the different Charts. What I can suggest is that you set a hardcoded Width for your YAxis TextBlock-s. Refer to this help topic where it is demonstrated how to style the axis items labels.

Kind regards,
Evgenia
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart
Asked by
DMM
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or