I have multiple charts that receive data and sometimes the data needs to be reset and the plotting needs to start over.
When I reset the data I set it to: new XyDataSeries<TimeSpan, double>();
This works great for the data, but the charts don’t refresh. I have to close the window with the chart and reopen it in order to get the new data to show up in the chart.
Is there a command I can send the charts that will clear the existing data and start plotting the new data without having to reopen a window?
Thanks!
- Greg Knox asked 5 years ago
- You must login to post comments
Hi Greg,
Thanks for your question.
You can call DataSeries.Clear() method to remove old Series and then add a new one.
Your approach should also work. Please see if you receive any errors. If there are no errors please send us a small sample project reproducing this issue for investigation.
- Oleksandr Shvets answered 5 years ago
- last edited 5 years ago
- You must login to post comments
Please login first to submit.