QCustomPlot Discussion and Comments

Handling multiple key values in same graphReturn to overview

Hello ,
As shown in image i wanted to plot data in following A -> B -> C -> D -> A.
Where the number of points can be varied.
When the loop reaches to A after drawing full graph it will clear all the data and again starts from A in the same manner.In this case the same keys can be repeated multiple times.
How to handle this in qcustomplotitem.
I'm using qcustomplot to draw with QML.

https://ibb.co/QXbn1JM

Is there any sample to realize the same.

Works easily with QCPCurve.

Let t go from 0 to 1 for the full loop and once you reach 1, you start removing points starting again from 0.