Don't place labels on every major tick

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
neo
Newbie
Newbie
Posts: 7
Joined: Thu Jan 14, 2010 12:00 am

Don't place labels on every major tick

Post by neo » Thu Sep 16, 2010 9:17 pm

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

davidnovo
Newbie
Newbie
Posts: 15
Joined: Mon Nov 30, 2009 12:00 am

Re: Don't place labels on every major tick

Post by davidnovo » Fri Sep 17, 2010 5:47 am

There are several events where you can have fine grained control on the axis labels.

Look in the help for OnGetNextAxisLabel, OnGetAxisLabel

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Don't place labels on every major tick

Post by Narcís » Fri Sep 17, 2010 7:25 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

neo
Newbie
Newbie
Posts: 7
Joined: Thu Jan 14, 2010 12:00 am

Re: Don't place labels on every major tick

Post by neo » Fri Sep 17, 2010 1:12 pm

Thanks so much to both of you.

I tried the Increment property and it worked great!

Cheers

Post Reply