Position X-Axis on the top of chart

Thread is closed for posting
3 posts, 1 answers
  1. Matt
    Matt avatar
    13 posts
    Member since:
    Apr 2008

    Posted 09 Oct 2009 Link to this post


    I have a requirement in my project to position the X-Axis on the top of the plot area.  All other elements remain the same (e.g. the chart still goes from 0 to 5 on the Y-Axis with 0 in the bottom left corner and 5 in the top left corner.

    I tried setting the x-axis label x-position to 200 hoping it would position the labels above the chart, but that didn't work.

    Is this at all possible with the Telerik chart?

    Matt Dixon
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 09 Oct 2009 Link to this post

    I do not think it's possible with RadChart since the only property I'm aware of switches the position of the x and y axis, but not the placement of a single axis.
  3. Answer
    Ves avatar
    2927 posts

    Posted 14 Oct 2009 Link to this post


    Actually, it is possible to move the X axis labels above the chart, using Matt's approach. Still, the axis line will remain at its original position. Here is the axis configuration:

                <LabelAppearance Position-Auto="False" Position-X="0" Position-Y="-234">

    Note, that you need to set Position.Auto to false and Position.Y  with a negative value to move the labels upwards. You may also need to adjust the plot area margins or move / remove the chart title, so that it does not overlap with the X axis labels.

    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