SubChart in a Frame

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Scott
Newbie
Newbie
Posts: 2
Joined: Tue Jan 29, 2008 12:00 am

SubChart in a Frame

Post by Scott » 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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: SubChart in a Frame

Post by Narcís » Tue Sep 24, 2013 7:44 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Scott
Newbie
Newbie
Posts: 2
Joined: Tue Jan 29, 2008 12:00 am

Re: SubChart in a Frame

Post by Scott » Tue Sep 24, 2013 3:00 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: SubChart in a Frame

Post by Narcís » Wed Sep 25, 2013 7:56 am

Hi Scott,

None that I can think of now, sorry.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply