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 671 - [TV52015395] A customer finds that the series datasource list for the functions in...
Summary: [TV52015395] A customer finds that the series datasource list for the functio...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: unspecified
Hardware: All All
: Low normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 15:40 EST by yeray alonso
Modified: 2014-03-27 11:47 EDT (History)
0 users

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


Attachments
test case (28.98 KB, application/octet-stream)
2014-03-27 11:42 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-03-27 11:23:42 EDT
A customer finds that the series datasource list for the functions in the editor is empty.
Two projects attached: An MDI and a DLL.
Instructions:
1. After compiling both modules, run the MDI. The MDI processing will initiate the Form processing that contains the chart. The form is located in the DLL. (I am not sure the DLL has anything to do with this, but I included as I use it).
2. Double click on the chart to open the ChartEditor.
3. Add a Line series.
4. Add a Function series (like Add).
5. Go to the Data Source tab for the Function. The series is missing.
Note: If you comment out the call to Replace_Chart in DLLUnit, and recompile, it will work correctly. The problem has something to do with the chart replacement.
I have found a detour this problem. The issue has to do when attaching one form to another. If the latter form has the DBChart and the parent one does not, it will fail. If the parent has a DBChart of any kind (even if hidden), it all works.
http://www.teechart.net/support/viewtopic.php?f=3&t=11776&start=0 [created:2011-02-17T15:40:26.000+01:00 reported by:yeray@steema.com reported in version:2010.02.20202 (TeeChart VCL)]
Comment 1 yeray alonso 2014-03-27 11:42:36 EDT
Created attachment 134 [details]
test case

Project from customer
Comment 2 yeray alonso 2014-03-27 11:47:02 EDT
Here it is the workaround the customer found. But this seems not to work any more 
in v2014.10:

"Just to get you up to date. I have found a detour this problem. The issue has to do when attaching one form to another. If the latter form has the DBChart and the parent one does not, it will fail. If the parent has a DBChart of any kind (even if hidden), it all works."