Tic Labeling Question

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
leaf
Newbie
Newbie
Posts: 37
Joined: Fri Nov 15, 2002 12:00 am

Tic Labeling Question

Post by leaf » Wed Feb 15, 2006 2:41 pm

I am trying to develop a work around to the many problems with the TcolorGridSeries plot type. Specifically, because of the slow display update rate when IrregularGrid is set to true, I need to label the axis tics manually when ever they are drawn.

Setting the labels manually using the following code works just fine:

Chart1.Axes.Bottom.Items.add(i,Format('%-.2f',[x]));

However, if I add a label for evey element, a repaint will attempt to draw them all.

Question: Is there a way to add labels only for the large (or major tic marks) Tics that are currently display on the screen? I will need to handle this for zooms and pans as well.

Thank you in advance.

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

Post by Pep » Mon Feb 20, 2006 10:19 am

Hi,

why you don't use the OnGetAxisLabel or the OnGetNextAxisLabel events ?
Plase see the Help for details.

Post Reply