Hello everybody.
In a form I have a chart that will draw one or more tracks after choices have been made and a button has been clicked.
If later new choices are made and the button is clicked again, the traces that are on the chart must be deleted and the new ones must be drawn.
How do I delete the old paths before the new ones are drawn?
I've tried this but it doesn't seem to work.
Thanks a lot, bye.
In a form I have a chart that will draw one or more tracks after choices have been made and a button has been clicked.
If later new choices are made and the button is clicked again, the traces that are on the chart must be deleted and the new ones must be drawn.
How do I delete the old paths before the new ones are drawn?
I've tried this but it doesn't seem to work.
Code:
Chart1.Series.Clear()