Page 1 of 1

values bottom axies

Posted: Sat Jun 04, 2005 11:20 am
by 6925494
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 ?

Posted: Mon Jun 06, 2005 10:52 am
by narcis
Hi L0ghan,

You should set your bottom axis increment to your variable:

Code: Select all

tchart1.GetAxis().GetBottom().SetIncrement(m_lecture);