Page 1 of 1

Limiting the amount of Axis Tricks

Posted: Mon May 22, 2017 9:51 pm
by Andres
Hi there,

I am looking to limit the amount of Axis tricks on my Y Axis.

I've manually set the Range using the SetRange method.

Code: Select all

yAxis.SetRange(-100, 100);
But LightingChart automatically creates up to 20 tricks. I want to have 8.
Is there a way to set the Max Count of rows that you want to have for that specific YAxis ?


Thanks in advance,
Andrés

Re: Limiting the amount of Axis Tricks

Posted: Tue May 23, 2017 9:03 am
by ArctionPasi
Hi Andres,

set yAxis.AutoDivSpacing = false, yAxis.MajorDiv and MajorDivCount.

For details, please see User's manual part 6.2.6, "Divisions".

Re: Limiting the amount of Axis Tricks

Posted: Tue May 23, 2017 12:19 pm
by Andres
that did the trick, Thanks!