Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add Series to a DBChart in Runtime

Status
Not open for further replies.

luistsousa

Technical User
May 12, 2003
66
PT
Hi

Can I create a serie to a DBChart in runtime?
I had try with:

TLineSeries *ls;
ls = new TLineSeries(DBChart1);
DBChart1->View3D = true;
DBChart1->AddSeries(ls);

DBChart1->SeriesList->Series[0]->DataSource=Table1;
DBChart1->SeriesList->Series[0]->YValues->ValueSource="test";
DBChart1->SeriesList->Series[0]->XLabelsSource="data_id"

but nothing


Regards
Luis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top