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
Copy Chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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!
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 |
Instructions - How to post in this forum |