SubChart in a Frame
Posted: Tue Sep 17, 2013 8:31 pm
I have run into a problem with the SubChart tool and frames that I have been able to recreate reliably.
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. I am using Borland C++ Builder 6 and TeeChart 2012.
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 code.
Has anyone seen this behavior? Any suggestions on how to fix this in a more permanent manor?
Thanks,
Scott
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. I am using Borland C++ Builder 6 and TeeChart 2012.
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 code.
Has anyone seen this behavior? Any suggestions on how to fix this in a more permanent manor?
Thanks,
Scott