Axis.CalcIncrement changes desired increment

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

Axis.CalcIncrement changes desired increment

Post by fnn » Tue Feb 28, 2006 8:02 am

Hello,

I calculate Axis.Increment manually.
But, in drawing labels Increment is calculated internally
as IIncrement:=Axis.CalcIncrement;
Also, Axis.CalcIncrement uses OnGetAxisLabel event to find maxlabelwidth.
Since, I want do not want to show after minimun and maximum labels in OnGetAxisLabel.
So, Axis.MaxLabelWidth is zero then Axis.CalcIncrement becomes bigger and bigger than
Axis.FDesiredIncrement.

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

Post by Pep » Thu Mar 02, 2006 10:33 am

Hi,

I'm sorry, I don't understand what you're trying to accomplish, could you please be more specific ? and if it's possible , put a code snipped with which I can see the problem here ?

Post Reply