Page 1 of 1

Axis.CalcIncrement changes desired increment

Posted: Tue Feb 28, 2006 8:02 am
by 8572678
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.

Posted: Thu Mar 02, 2006 10:33 am
by Pep
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 ?