When drawing some data, for example 4096 or more points like:
some lines appear outside the plot area.
The example program and the screenshot are in the archive.
Also in this example you can set a marker by right mouse button and it appears righter then a mouse click when the coordinates of a marker are calculated like invTransform(event->x), invTransform(event->y) in mousePressEvent.
Is it a bug or the coordinates of a marker should be calculated other way?