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 - Add the option to clear all IDataSources in a TDBChart
Summary: Add the option to clear all IDataSources in a TDBChart
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: 24.180321
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 10:05 EDT by yeray alonso
Modified: 2018-11-14 08:23 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;