Page 1 of 1

Series runtime instance

Posted: Tue Jan 25, 2005 9:31 am
by 9340642
How can I create an istance of TColorGrid series at runtime?
I tried with this code:

TColorGridSeries *series1;
series1=new TColorGridSeries ();
TColorGridSeries ->add->XYZ..............

but the constructor of TColorGridSeries class is not implemented.


Thanks

Posted: Tue Jan 25, 2005 9:40 am
by Marjan
Hi.

How about this:

Code: Select all

#include "TeeSurfa.hpp"
// ...
TColorGridSeries *colorgrid1= new TColorGridSeries(this);
colorgrid1->ParentChart = Chart1;
colorgrid1->AddXYZ(2,3,1,"",clTeeColor);