Page 1 of 1

Abbreviations for left axis labels

Posted: Mon May 08, 2006 8:43 am
by 9640721
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

Posted: Mon May 08, 2006 9:08 am
by narcis
Hi Mauro,

You should implement it yourself in the GetAxisLabel or GetNextAxisLabel events.

Abbreviations for left axis labels

Posted: Mon May 08, 2006 10:10 am
by 9640721
narcis wrote:Hi Mauro,

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