Hi
I need to be able to create a new instance of my chart at runtime. This is relatively straightforward in VB.NET by simply doing this:
Dim chart As New Steema.TeeChart.TChart
Me.Controls.Add(chart)
However this new instance has all the Steema defaults set, whereas my default chart is quite different. (Backcolour, borders, axes etc, etc)
Question is: is there a quick way to get my newly instantiated chart control to my defaults?
New chart at runtime
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: New chart at runtime
Hi rossmc,
Yes, you can save your chart to a native TeeChart template (*.ten) or you can use custom themes. For more information on TeeChart templates please read Tutorial 12 - Exporting and Importing Charts. For custom themes please have a look at the All Features\Welcome !\Themes\Custom Themes example in the features demo. Tutorials and demo are available at TeeChart's program group.
Hope this helps!
Yes, you can save your chart to a native TeeChart template (*.ten) or you can use custom themes. For more information on TeeChart templates please read Tutorial 12 - Exporting and Importing Charts. For custom themes please have a look at the All Features\Welcome !\Themes\Custom Themes example in the features demo. Tutorials and demo are available at TeeChart's program group.
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 |