I am using qcustomplot in qml using qmlRegisterType. I have serial data that I collect and plot on one plot. I have three graphs on the same plot where each graph is being updated at 3000 samples per second - I am using it like a multi channel scope of sorts.
On the first run everything is great but things slow down if I dont call clearGraphs before each new trial. Now if I run my "scope" for 30 seconds then clearGraphs takes really long and I would like to know if there is a better way of accomplishing the same thing = fast plotting each time and not just the first.