Page 1 of 1

No ParentChart to validate datasource

Posted: Tue Apr 20, 2004 9:32 am
by 5886443
Following code worked ok in BorlandC++ with TeeChartPro5
FCorrSeries = new TLineSeries(Chart);
FCorrSeries->DataSources->Clear();
FCorrSeries->DataSources->Add(FChartSeries);

In TeeChartPro7, we have error:
No ParentChart to validate datasource
Any idea ?

Posted: Tue Apr 20, 2004 4:49 pm
by Pep
Hi,

yes, in older version it does not give you any error message but it does not do nothing. Creating the Series in this manner you must always set the ParentChart property.