Page 1 of 1

SubChart in a Frame

Posted: Tue Sep 17, 2013 8:31 pm
by 10048108
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

Re: SubChart in a Frame

Posted: Tue Sep 24, 2013 7:44 am
by narcis
Hi Scott,

Apologies for the delayed reply. I could reproduce the problem here and added it (TV52016725) to the bug-list to be fixed for future releases.

Re: SubChart in a Frame

Posted: Tue Sep 24, 2013 3:00 pm
by 10048108
Thanks for the update.

Do you have any other suggestions for a better work around than what I found? It is becoming quite a pain to have to go into the plot from the main form and delete the sub chart from the tools almost every time I recompile.

Thanks,
Scott

Re: SubChart in a Frame

Posted: Wed Sep 25, 2013 7:56 am
by narcis
Hi Scott,

None that I can think of now, sorry.