Page 1 of 1

FillSampleValues not compiling

Posted: Wed Mar 07, 2007 10:21 pm
by 9532498
I'm using Visual C++ 6.0 and TeeChart Active V7. The following line of code results in a compilation error in Visual C++ 6.0:

m_Chart.Series(0).FillSamplesValues(10).

However, in Visual C++ 7.0 it compiles fine. How should it be modified for Visual ++ 6.0?

Posted: Thu Mar 08, 2007 9:14 am
by narcis
Hi nbp,

It works fine for me here using this:

Code: Select all

	m_Chart1.Series(0).FillSampleValues(100);
If the problem persists please post the compiling error you obtain.

Thanks in advance.

Posted: Thu Mar 08, 2007 2:55 pm
by 9532498
I still get the error. Here it is:

error C2039: "FillSamplesValues" : is not a member of CSeries

Posted: Thu Mar 08, 2007 3:05 pm
by 9532498
Ok. I fixed the problem. Thanks for your help.