Hi Emanuel,
I do see you create the dots but O don't see what make the dots leading the lines when the drawing is done.
When you have time please give us some more inside information.
Thanks
Tom
Hi Emanuel,
I do see you create the dots but O don't see what make the dots leading the lines when the drawing is done.
When you have time please give us some more inside information.
Thanks
Tom
Hi Thomas,
in MainWindow::setupRealtimeDataDemo()
the slot MainWindow::realtimeDataSlot()
is configured to be called repeatedly during the application runs. The code in that slot is what keeps the whole thing animated, and there the dots are updated to the newest data:
// set data of dots: ui->customPlot->graph(2)->clearData(); ui->customPlot->graph(2)->addData(key, value0); ui->customPlot->graph(3)->clearData(); ui->customPlot->graph(3)->addData(key, value1);
Thanks