Removing Custom Axis Labels

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Kevin
Newbie
Newbie
Posts: 6
Joined: Tue Nov 13, 2007 12:00 am

Removing Custom Axis Labels

Post by Kevin » Tue Mar 25, 2008 3:06 am

When I remove custom axis labels by calling Chart->BottomAxis->Items->Clear (), the bottom axis items are correctly removed. However, the axis remains blank. How can I get the standard labels back?

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

Post by Narcís » Tue Mar 25, 2008 10:06 am

Hi Kevin,

Try this:

Code: Select all

	Chart1->Axes->Bottom->Items->Automatic=true;
	Chart1->Draw();
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