Using qcustomplot as scatter plot.
Adding data through addData(x,y);
x - random value
y - random value

For 'averaging' purpose I need to delete first N points.
How I can do this?
data()->remove(...) using a key. But in my case could be a duplication of 'x' values.

Is there a qcustomplot mechanism for averaging?