axis label spacing
Posted: Fri Sep 26, 2008 7:57 pm
I am using TeeChart Standard for Delphi.
How can I determine the number of axis labels that will appear in the chart? I am using the GetAxisLabel() callback to override labels, and I need to know the difference between consecutive labels. I know the minimum and maximum axis label values, but when I retrieve TChart1.BottomAxis.Increment, it is always zero. When I retrieve TChart1.Series[0].Labels.Count it always returns the total number of items in the series.
How can I determine the number of axis labels that will appear in the chart? I am using the GetAxisLabel() callback to override labels, and I need to know the difference between consecutive labels. I know the minimum and maximum axis label values, but when I retrieve TChart1.BottomAxis.Increment, it is always zero. When I retrieve TChart1.Series[0].Labels.Count it always returns the total number of items in the series.