Multiple X axes

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Queue Moderators

Post Reply
SupportArchives
Posts: 16
Joined: Tue Mar 26, 2013 11:01 pm

Multiple X axes

Post by SupportArchives » Thu Jun 06, 2013 6:48 am

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?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Multiple X axes

Post by ArctionPasi » Thu Jun 06, 2013 6:59 am

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
LightningChart Support Team, PT

Post Reply