So unfortunately I am stuck using QT5 so the version of QCustomPlot is 2.1.0.
Also, I don't see a way of attaching images to show the issue so I will try to describe.
I am using addData to add a series of points to a graph. The points are spread out in Y but differ a small
amount in X. The points are in order going up the Y axis. When I have lsNone for the line type, I get all the
points in order and in the correct position.
If I set to lsLine to connect the scatter points with lines, the lines do not connect to the points in the order they
added to the graph. I expect the line to connect the last added point to the newly added point in order the points
are added to the graph. Instead the lines seem to connect either randomly jumping up and down between the
points or maybe in order of the X distance between the points.
Also, if I am adding points based on mouse move and I drag the mouse up the graph and then to the left, I get a
perfect result, however if I drag up and then to the right, it starts connecting the right going points to points in
the "stem" (the points in the Y direction)
The code is a simple onMouseMove - get location - use addData to add cell location to graph.
in the up part of the drawing.