Align AxisY on multiple charts that are stacked

2 posts, 0 answers
  1. DMM
    DMM avatar
    8 posts
    Member since:
    May 2010

    Posted 29 Aug 2011 Link to this post

    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.


    I uploaded a pic here to show what I mean:
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 01 Sep 2011 Link to this post

    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,
    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 >>

Back to Top