Copy chart and all data to new object

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Michael
Newbie
Newbie
Posts: 15
Joined: Thu Mar 06, 2003 5:00 am

Copy chart and all data to new object

Post by Michael » Thu Mar 16, 2006 7:09 pm

HI,

I am working a large app with a ton of tchart objects on the main form. I am not allowing the main form to be sizeable at the moment. This results in small charts with no good way to zoom or see more detail. Instead, so that user can see more detail, they will dblclick a chart and a new form will popup (sizeable) with a copy of that chart docked to the form extents.

I've tried the clone and assign series but I cannot seem to get a complete copy of the chart as displayed on originating form. I initially set the new tchart object = the source object but not everything comes along.

How do I accomplish this?

Thanks in advance.

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

Post by Narcís » Fri Mar 17, 2006 8:57 am

Hi Michael,

Have you tried exporting the chart to a .ten (TeeChart for .NET native file format) file or a memory stream and then import it to the new chart? For more information on how to do that please read the importing and exporting tutorials available at TeeChart's program group.
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

Michael
Newbie
Newbie
Posts: 15
Joined: Thu Mar 06, 2003 5:00 am

Post by Michael » Mon Mar 20, 2006 3:55 pm

Thanks very much. Works like a champ.

Post Reply