Copy Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
KevL
Newbie
Newbie
Posts: 17
Joined: Fri Mar 14, 2008 12:00 am

Copy Chart

Post by KevL » Wed Apr 29, 2009 1:04 pm

I am creating a C# app. in visual Studio 2005. I need to have 4 to 6 charts on the main form. I can create a complete working chart with no problem, however I can't manage to copy that chart in order to create the rest. I have done this with no problems at all in Borland Builder for years. In this case, If I click on the completed chart, select copy and then paste, I get a new chart with 1 or more missing Series and the chart that I copied from loses its Series. In other words BOTH charts are totally screwed up. Is this not the way to copy a chart? Is there a "proper" way? It is a real pain to manually create each chart to be exactly like the first one. I have tried copying sections of the Designer.cs file, but that usually ends up in disaster.

Any help is appreciated.

Kev

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

Post by Narcís » Wed Apr 29, 2009 3:03 pm

Hi Kev,

The easiest and most reliable way I can think of to do that in .NET is right-clicking on a chart, selecting "Export Chart" and export it as a native template file (*.ten). Then you do the same with the charts you want to load this template in selecting "Import Chart" instead.

Hope this helps!
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