axis increment

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jennifer Good
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am
Location: Dallas Tx

axis increment

Post by Jennifer Good » Sat Dec 11, 2004 9:24 pm

we want to write code that will put axis labels at defined increments. what we tried was:

chart1.leftaxis.increment:=5;
and this does not seem to work. The increment changes fine in the charteditor, but not in code.

Natalie

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Dec 13, 2004 7:04 am

Hi Natalie,

setting the increment as you've done should work fine, but maybe the problem is that there's not enought space to display all the labels. In case you want to display a specific labels the best way is to add custom axis labels. You can see one example which shows how to do this in the TeeChart Pro Demo features project.

Post Reply