Axis labelling increments etc

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 27
Joined: Wed Jul 28, 2004 4:00 am
Location: South Africa

Axis labelling increments etc

Post by Rossmc » Fri May 06, 2005 8:57 am

Sorry to be a pain but my helpfiles are a little too unhelpful. Plotting on right axis, I have to set Min/Max manually to enable local scaling as opposed to global scaling on my chart.
I then call .AdjustMinMax (.Automatic = False). Sometimes it comes out looking good, other times there are just too many labels.
Is there a way to restrict the total number of labels the control will add to an axis to a fixed number, for example 8 or 10?

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

Post by Narcís » Fri May 06, 2005 9:13 am

Hi Ross,

You can try to set the axis increment (TChart1.Axis.Right.Increment), combined with custom min. and max. values should give you what you request.
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