QCustomPlot Discussion and Comments

OpenGL Accelerated Rendering Displays DistortionReturn to overview

Upon enabling OpenGL acceleration, the chart's displayed content becomes distorted, showing strange artifacts and occasionally even rendering the contents of other OpenGLWidgets within my project. Additionally, I've noticed a decrease in the clarity of curve labels when OpenGL is enabled.

Are you using Qt6 or Qt5? I have an existing Qt5 project that uses version 2.1.0 and OpenGL and renders flawlessly, I'm trying to setup a new project using Qt6 with version 2.1.1 and I'm observing the same artefacts you've described. The plot data is being plotted multiple times on top of each other with random 'noise' artefacts elsewhere in the view.

I am using Qt 6.5.2 and QCustomPlot 2.1.1. There is a significant amount of noise present in the chart.

I'm using Qt 6.5.x as well, and have tried both QCP 2.1.1 and 2.1.0. I've read elsewhere on this site that 2.1.1 is compatible up to Qt 6.4, so perhaps there is a Qt 6.5+ incompatibility that we're coming up against?