Hi everyone,
I want to plot a QCustomPlot graph in a new window instead of the MainWindow. I created a new subwindow, which is called by pressing a button of the Mainwindow. In order to put the graph in the subwindow I followed the typical procedure which is described on this link http://www.qcustomplot.com/index.php/tutorials/settingup. When I press the button the subwindow pops up and the graph is plotted.
My problem is that I can't call the object in order to setup/refresh the graph. If the graph was in the main window I would have used the following commands:
SetupChart(ui->customPlot);
Thanks in advance