Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2079

Summary: Add the option to clear all IDataSources in a TDBChart
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 24.180321   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://www.steema.com/support/viewtopic.php?p=75610
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2018-08-21 10:05:31 EDT
Some customers may want to manually clear the IDataSources TList in TDBChart.

You can clear the DataSource itself with the Series DataSource.Clear function, but this doesn't affect the IDataSources TList
Comment 1 yeray alonso 2018-08-21 10:08:04 EDT
As the customer suggests, we could expose a public ClearDataSources method:

procedure TCustomDBChart.ClearDataSources;
begin
  iDataSources.Clear;
end;