Page 1 of 1

Don't place labels on every major tick

Posted: Thu Sep 16, 2010 9:17 pm
by 10055061
Hi,

I am plotting an item where only integer values (i.e. 1, 2, 3, 4 etc...) make sense. How can I tell the left and right axis to ignore labelling the stuff in-between (i.e. 1.2, 1.4, 1.6, 1.8 etc...).

Thanks,
neo

Re: Don't place labels on every major tick

Posted: Fri Sep 17, 2010 5:47 am
by 10054750
There are several events where you can have fine grained control on the axis labels.

Look in the help for OnGetNextAxisLabel, OnGetAxisLabel

Re: Don't place labels on every major tick

Posted: Fri Sep 17, 2010 7:25 am
by narcis
Hello everyone,

davidnovo, thanks for your collaboration!

neo, you can also set axis increment property as shown in tutorial 4. Tutorials can be found at TeeChart's program group.

Re: Don't place labels on every major tick

Posted: Fri Sep 17, 2010 1:12 pm
by 10055061
Thanks so much to both of you.

I tried the Increment property and it worked great!

Cheers