Abbreviations for left axis labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mauropud
Newbie
Newbie
Posts: 3
Joined: Wed Mar 22, 2006 12:00 am
Contact:

Abbreviations for left axis labels

Post by mauropud » Mon May 08, 2006 8:43 am

Hi,
is there an option in Teechart for .NET to have an automatic abbreviation for the labels in the left axis? My problem is that when the values in the left axis are very big numbers (like 100,000,000 for instance) they use too much space on the left hand side, causing horizontal scrollbars to appear in my web page. What I'm looking for is a means to have labels like 1k, 1M etc. instead of 1,000 or 1,000,000.
Is there any option in Teechart or any other way to get this?
Thanks in advance for any tip!
Mauro

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 May 08, 2006 9:08 am

Hi Mauro,

You should implement it yourself in the GetAxisLabel or GetNextAxisLabel events.
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

mauropud
Newbie
Newbie
Posts: 3
Joined: Wed Mar 22, 2006 12:00 am
Contact:

Abbreviations for left axis labels

Post by mauropud » Mon May 08, 2006 10:10 am

narcis wrote:Hi Mauro,

You should implement it yourself in the GetAxisLabel or GetNextAxisLabel events.
Great!
Thanks Narcis.

Post Reply