Removing decimal places

TeeChart for ActiveX, COM and ASP
Post Reply
fosterm
Newbie
Newbie
Posts: 1
Joined: Fri Dec 03, 2004 5:00 am
Location: England
Contact:

Removing decimal places

Post by fosterm » Wed May 25, 2005 10:32 pm

Hi.

Is there an option to stop the tchart axis breaking down into decimal places if there is only a small scale of results eg 0 to 3

At the moment the axis marks 1.2,1.4 etc
I only want it to show 0,1,2 etc

Many thanks

Mark

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

Post by Narcís » Thu May 26, 2005 8:53 am

Hi Mark,

Yes, just set axis increment to 1:

Code: Select all

TChart1.Axis.Left.Increment = 1
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