Page 1 of 1

Y axis on right label and numbers alignment

Posted: Tue Aug 09, 2022 4:16 am
by s_mazyar
Hi I have two Y axis. One on left, one on right. When I set chart.ViewXY.AxisLayout.AutoAdjustMargins = false; and give margins
The Label(which is pressure) and numbers of right Y axis goes inside of lighting chart area. How could I force them(label and
Y axis numbers) to go outside of chart area?
Thanks in advance
P.S there is an alignment property but I do not know if it helps, Moreover I do not know what property I should put at the right side
Like for example pressureVerticalScrollBar.Alignment=???
Again thanks in advance

Re: Y axis on right label and numbers alignment

Posted: Wed Aug 10, 2022 11:11 am
by ArctionKestutis
Some of Axis properties require that 'auto' handling would be disabled. This 'auto' could be disabled by AxisLayout.AutoAdjustMargins = False or setting ViewXY.AxisLayout.YAxisAutoPlacement to 'Off'.

After that you could modify YAxis Position, MajorDivTickStyle.Alignment properties. I believe those 2 should help to generate layout you need.

Re: Y axis on right label and numbers alignment

Posted: Sat Aug 13, 2022 4:35 am
by s_mazyar
Hi Thank you very much.
Your comment solved my problem completely;