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 185

Summary: [TV52014739] When you export a chart that is connected to a datasource to a tee fi...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WONTFIX    
Severity: major CC: yeray
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=11558&p=49206#p49206
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Simple example to reproduce the problem

Comment 1 yeray alonso 2014-04-09 06:32:04 EDT
Made the firs comment private to hide user info. Here the information relevant to the issue:

When you export a chart that is connected to a datasource to a tee file, the data can be exported or not, but the connection info is lost. There is a customer who would like to save that info to load a chart connected to the database when imported from a tee file.

Also, another customer just asked for the same here:
http://www.teechart.net/support/viewtopic.php?f=3&t=14842
Comment 2 yeray alonso 2014-04-10 07:25:51 EDT
Created attachment 165 [details]
Simple example to reproduce the problem
Comment 3 yeray alonso 2021-02-15 08:32:44 EST
There's no generic way to automatically save and load a DataSource assigned to a Chart because they are objects living out of the Chart and we have no control over them.

The alternatives are (1) to reload the DataSource manually after loading the chart (which has to be done by the developer since we can't control all the possible DataSources), or (2) to save and load all the TForm with the standard TReader/TWriter.

I'm closing this since there's nothing we can do here.