FillSampleValues not compiling

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

FillSampleValues not compiling

Post by nbp » Wed Mar 07, 2007 10:21 pm

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Mar 08, 2007 9:14 am

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.
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

nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Post by nbp » Thu Mar 08, 2007 2:55 pm

I still get the error. Here it is:

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

nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Post by nbp » Thu Mar 08, 2007 3:05 pm

Ok. I fixed the problem. Thanks for your help.

Post Reply