Axis ValueFormat

TeeChart for ActiveX, COM and ASP
Abhijit
Newbie
Newbie
Posts: 44
Joined: Fri Nov 15, 2002 12:00 am

Post by Abhijit » Mon Apr 14, 2008 10:49 am

Hi ,

Sorry to say that you are not considering the whole problem , what ever you are tring to show that I have already tried ,

consider values ,
m_chart.GetAxis().GetLeft().SetMinMax(0.099999988366464 , 0.1000000273894787);

In this case I just want only 8 fractions would display on the graph axis ,

If I set this property how I will achieve the case upto the 8 fraction

m_chart.GetAxis().GetLeft().GetLabels().SetValueFormat("0.00000000,########");

second case,
m_chart.GetAxis().GetLeft().SetMinMax(0.1000000066464 , 0.2000000873894787);

In this case if I just want to display values upto the 1 fraction because after this upto the 8 fractions all the values are '0' that I don't want to show....

i.e
0.1
0.15
0.2
0


Values that I will get to plot on the Y Axis is not constant , it may vary


Regards
Abhijit Nimbalkar

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 Apr 15, 2008 7:14 am

Hi Abhijit,

In that case, the only solution we can think of is that you process each axis label in the OnGetAxisLabel event.
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