I finally found a solution by myself.
I used VectorDataset instead of XYSimpleDataset.
VectorDataset->Clear();
Search found 2 matches
- Tue Nov 27, 2018 7:43 pm
- Forum: wxCode
- Topic: wxfreechart delete dataset
- Replies: 1
- Views: 7541
- Tue Nov 27, 2018 10:39 am
- Forum: wxCode
- Topic: wxfreechart delete dataset
- Replies: 1
- Views: 7541
wxfreechart delete dataset
Hi guys, I am using wxfreechart to create a simple 2D line chart. Everything is working fine with the first chart, but I could not find any way to "reset" the chart. So I started to delete the plot,dataset and wxChartPanel. It worked on BSD, but when I tried to do the same on Raspbian, I g...