Reload Chart?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
phil1995
Newbie
Newbie
Posts: 31
Joined: Fri Dec 16, 2005 12:00 am
Location: Hattiesburg, Ms.
Contact:

Reload Chart?

Post by phil1995 » Wed Oct 04, 2006 1:29 pm

Can someone please tell me how to reset a chart?

I have a button that I use that changes all the data on the chart, however, the old data is still being shown on the graph. If I set the Tchart object to nothing, I get errors trying to access the Tchart object. I do not know how to properly reset the Tchart object. Any help would be greatly appreciated.

I just need to completly wipe the old graph and start a new one.

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 Oct 04, 2006 1:43 pm

Hi phil1995,

To reset a chart to its default values you can use:

Code: Select all

      tChart1.Clear();
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