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 9 - AV in a SubChart within a Frame.
Summary: AV in a SubChart within a Frame.
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 03:38 EDT by narcís calvet
Modified: 2013-10-30 12:18 EDT (History)
1 user (show)

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


Attachments
Test example project (3.49 KB, application/x-zip-compressed)
2013-10-24 13:12 EDT, david berneda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description narcís calvet 2013-09-24 03:38:14 EDT
If I place a TeeChart in a frame and add a SubChart tool to that chart, I get an "EAccess Violation with message 'Access violation at address ...'" error message and the program will not run.

Here are the steps to recreate this problem:
1. Create a new project
2. Create a frame within this project
3. Add a TeeChart to the frame
4. Double click the chart and add a SubChart tool
5. Add a chart and series to the SubChart
6. Add the frame to the main form and run

I have a workaround, but it isn't inconvenient. From the main form (not the frame), double click on the TeeChart and then click on tools. Select and delete the SubChart. Now, the application will run. The TeeChart with SubChart will display properly since this is pulled from the frame. The downside is I have to do this almost every time I want to run the application. This gets quite tedious when developing the cod2e.
Comment 1 narcís calvet 2013-09-24 03:42:31 EDT
This is TV52016725 in TC Tracker.
Comment 2 david berneda 2013-10-21 11:02:50 EDT
This AV has been resolved, but there is a new problem due to a limitation in Delphi RTL/VCL.  

When the ancestor frame subcharts are changed, modifications aren't correctly propagated to inherited forms.
Comment 3 narcís calvet 2013-10-22 04:25:41 EDT
After the fix, SubChart now fails to compile with Firemonkey. At least with XE5.
Comment 4 david berneda 2013-10-22 07:10:09 EDT
FMX: Fixed
Comment 5 david berneda 2013-10-24 13:12:40 EDT
Created attachment 6 [details]
Test example project