Page 1 of 1

Multiple X axes

Posted: Thu Jun 06, 2013 6:48 am
by SupportArchives
When I add second X axis in the XAxes collection of ViewXY, it shows in the same location than the default X axis. How to move the axis?

Re: Multiple X axes

Posted: Thu Jun 06, 2013 6:59 am
by ArctionPasi
Axes have Position property, which tells the position as percents of graph height in X Axes.
  • Position = 0 : Graph top
    Position = 50 : Graph middle
    Position = 100: Bottom
    Position = 110: In the bottom margin area
and so on.

The same applies to Y axes. 0 means left edge, 50 center, 100 right edge.

Also check the tick and labels alignment properties:
  • MajorDivTickStyle.Alignment : ticks left/center/right
    LabelsPosition: labels left/center/right
    VerticalAlign: fine adjustment to top/center/bottom by axis line thickness