Y-Axis on Right Side
Moderator: Queue Moderators
- blakeadkins
- Posts: 44
- Joined: Tue Feb 25, 2014 7:49 pm
Y-Axis on Right Side
Is there a way to move the Y-Axis on a ViewXY to the right side? I see there's a YAxisPosition setting, but I'm not sure where to set it.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Y-Axis on Right Side
Set yAxis.Position = 100 to move it to right edge. Also align the ticks and labels. This is a good example to learn these properties:
The chart has a lot of properties to tweak the appearance.
The chart has a lot of properties to tweak the appearance.
LightningChart Support Team, PT
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Y-Axis on Right Side
Now there's automatic axis layouts available in LC v.6.
Just set ViewXY.AxisLayout.YAxisAutoPlacement = LeftThenRight.
Then the second axis will appear aligned to the right edge of the graph, and labels also aligned to the right side.
Just set ViewXY.AxisLayout.YAxisAutoPlacement = LeftThenRight.
Then the second axis will appear aligned to the right edge of the graph, and labels also aligned to the right side.
LightningChart Support Team, PT