QCustomPlot Discussion and Comments

Clipping bug in QCPCurveReturn to overview

Hi, we're using QCustomPlot where I work to display complex data using QCPCuves, and I discovered a nasty in the clipping algorithm

Here is the original curve zoom out :

https://drive.google.com/file/d/1ibIMq2gfF-05gPt3yr3MH5lH3YA632pl/view?usp=sharing

When we zoom a little bit everything is ok :

https://drive.google.com/file/d/1fPsO_0K9Ro9AovcPLOgViRxZtvs4jL6K/view?usp=sharing

But when zooming more, line artefacts going cross the screen appear:

https://drive.google.com/file/d/1tV1aAUKnldEBeb8RkJBN7ZvLVy0UUqAA/view?usp=sharing

Seems to me the bug is located in getCurveLines using the region clipping algorithm, but I can't figure exactly where.
Do you any idea on how to fix it ?

Thanks

Hi Frank, thanks for the feedback!

The image links say "access denied". Could you send me the images and ideally the points of the curve as email to the support email address?

sorry for the bad sharing, I send you everything by mail