Page 1 of 1

Reload Chart?

Posted: Wed Oct 04, 2006 1:29 pm
by 9639571
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.

Posted: Wed Oct 04, 2006 1:43 pm
by narcis
Hi phil1995,

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

Code: Select all

      tChart1.Clear();