Rotate X - Axis Label

5 posts, 1 answers
  1. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 06 Oct 2009 Link to this post

    I have an bar chart with a series of bar columns and under each bar column on the x-axis is a label. The label text has been rotated 90 degrees counter-clockwise (appears to be default). I want the label text to be rotated 45 degress clockwise, so it will read better. how can I do that?
  2. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 07 Oct 2009 Link to this post

    Hello Matt Tapia,

    You can achieve the desired appearance through the RadChart.DefaultView.ChartArea.AxisX.LabelRotationAngle property.

    Hope this helps.


    Greetings,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Matt Tapia
    Matt Tapia avatar
    18 posts
    Member since:
    Jul 2009

    Posted 07 Oct 2009 Link to this post

    yes, that helps! thanks!
  4. Mattias
    Mattias avatar
    6 posts
    Member since:
    Aug 2009

    Posted 13 Oct 2009 Link to this post

    I have a question connected to this. I have rotated the labels (using XCategories) 45 degrees but having pretty long names it is sometimes hard to see which one belong to what.

    Can I somehow make the end of the word point to the area (align or justify)? Or do I have to rotate it full 90 degrees?

    Attached an image to show my problem.
  5. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 14 Oct 2009 Link to this post

    Hi Mattias,

    Unfortunately the control does not support this functionality at the moment (setting custom align / justify options for the labels) and it will not be possible to achieve the desired effect.

    Nevertheless, we will forward your feedback to our developers so they can consider it for one of the future versions of the control.


    Kind regards,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top