How to put X-Axis on Top

Thread is closed for posting
2 posts, 0 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 03 Dec 2012 Link to this post

    We have a simple bar chart that we would like to be able to put the xaxis labels and hash marks on top instead of on teh bottom. Is this possible? If so, can someone point me to some example code?
    Thanks ... Ed
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Dec 2012 Link to this post


    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. To reverse the direction of the ticks and have them appear above the axis line use a negative value for Length. Following is the axis configuration.

    <XAxis Appearance-MajorTick-Length="-234">
            <LabelAppearance Position-Auto="false" Position-Y="-234">

    Hope this helps.

  3. DevCraft R3 2016 release webinar banner
Back to Top