Axis.CalcIncrement changes desired increment
Posted: 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.
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.