Axis text alignment issue!

Thread is closed for posting
2 posts, 0 answers
  1. Krishna Samaga
    Krishna Samaga avatar
    15 posts
    Member since:
    Oct 2009

    Posted 13 Aug 2010 Link to this post


    I have a telerik grid which has lengthy axis text labels. Due to its length, a part of the text is not shown as described in the attachment. The AutoLayout of Chart is set to false. I tried to fit it within the available space by using the below code but it had no effect.

    chart.PlotArea.XAxis[count].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left;
    chart.PlotArea.XAxis[count].TextBlock.Appearance.Dimensions.Margins.Left = new Unit(50);

    Can anybody help me to display the complete axis text? This is a immediate requirement to be resolved for the client.

    Krishna Samaga B.
  2. Nikolay
    Nikolay avatar
    397 posts

    Posted 18 Aug 2010 Link to this post

    Hello Krishna Samaga,

    RadChart supports automatic text-wrapping functionality on a number of elements, including the axis labels. Enabling it should fix the problem with displaying the whole text. Please, have a look at this help topic to see how to achieve this.

    Hope this helps.

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