Hello.

I studied this example http://doc.qt.io/qt-5/qtcharts-scatt...t-example.html
and wonder how can I dynamically change my data to plot?

this is main
Qt Code:
  1. int main(int argc, char *argv[])
  2. {
  3. QApplication a(argc, argv);
  4.  
  5. ChartView *chartView = new ChartView();
  6. QMainWindow window;
  7. window.setCentralWidget(chartView);
  8. window.resize(400, 300);
  9. window.show();
  10.  
  11. return a.exec();
  12. }
To copy to clipboard, switch view to plain text mode 

and since window.show(); I cannot do anything with my plot...
Is it utterly possible dynamically change my plot?