TfrxChartView->ClearSeries()
Hello,
in my application (C++ Embarcadero Tokyo 10.2, FR VCL5 - Embarcadero edition) I have placed pure (empty) TfrxChartView
onto report page in the designer. However data are inserted dynamically.
This sequence of commands works perfectly:
ChartView->ClearSeries();
ChartView->AddSeries(csLine) and fill the data...
Report->ShowReport(0);
I would like to clear the series immediately after Preview (Print)
But following sequence rises an exception (access violation...)
ChartView->AddSeries(csLine) and fill the data...
Report->ShowReport(0);
ChartView->ClearSeries(); <-exception !
What am I doing wrong ?
in my application (C++ Embarcadero Tokyo 10.2, FR VCL5 - Embarcadero edition) I have placed pure (empty) TfrxChartView
onto report page in the designer. However data are inserted dynamically.
This sequence of commands works perfectly:
ChartView->ClearSeries();
ChartView->AddSeries(csLine) and fill the data...
Report->ShowReport(0);
I would like to clear the series immediately after Preview (Print)
But following sequence rises an exception (access violation...)
ChartView->AddSeries(csLine) and fill the data...
Report->ShowReport(0);
ChartView->ClearSeries(); <-exception !
What am I doing wrong ?