values bottom axies

TeeChart for ActiveX, COM and ASP
Post Reply
l0ghan
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am
Location: lyon(france)
Contact:

values bottom axies

Post by l0ghan » Sat Jun 04, 2005 11:20 am

hello everyone i appologize for my bad english because i'm french.

i wanna do something with teechart and i really need your help :

i have a value wich is a "int m_lecture" and i want my bottom axis to increment thank to that value for example if my value is 10 i want my bottom axis increment 10 to 10 :
1rst point = 10
2nd point = 20
3rd point =30 etc.....

can you help me please ?

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 Jun 06, 2005 10:52 am

Hi L0ghan,

You should set your bottom axis increment to your variable:

Code: Select all

tchart1.GetAxis().GetBottom().SetIncrement(m_lecture);
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