axis label spacing

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BlueMonkey
Newbie
Newbie
Posts: 20
Joined: Mon Feb 14, 2005 5:00 am
Location: Eastern Washington, US

axis label spacing

Post by BlueMonkey » 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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Sep 29, 2008 8:24 am

Hi BlueMonkey,

You can try doing something as in the last example I posted here.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply