Page 1 of 1

LineSeries: getting correct increment automatically changed

Posted: Thu Oct 06, 2005 8:19 am
by 8441073
Hello,

I have a TFastLineSeries, the bottom axis is used to display dates.
I set the BottomAxis.Increment property = 1.

If there are too many values to display, the bottom axis shows dates with a different increment, automatically changed, in order to best fit date "captions" on the axis.

This is a great feature, and I really like it!

At run-time, I want to know what is the current increment of the bottom axis, but I don't know how to get it.
In fact, if I read the BottomAxis.Increment property, it is always = 1.

Is there any way to get the Increment automatically changed?

Thank you.

Posted: Mon Oct 10, 2005 12:09 pm
by Pep
Hi,

yes, you can get it using :
incr := Chart1.Axes.Bottom.CalcIncrement;

Posted: Wed Oct 19, 2005 7:18 am
by 8441073
Thank you!

It's definitively amazing!