Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
6.2, 6.3
-
None
-
-
61011ff6c1 (qt/qtcharts/dev) 2e98d87547 (qt/qtcharts/6.3) adaa37ad7d (qt/qtcharts/6.2) adaa37ad7d (qt/qtcharts/6.2.4) adaa37ad7d (qt/tqtc-qtcharts/6.2) adaa37ad7d (qt/tqtc-qtcharts/6.2.4) 2e98d87547 (qt/tqtc-qtcharts/6.3) 61011ff6c1 (qt/tqtc-qtcharts/dev)
Description
In the attached ChartView, the series should be rendered as red line, but actually as black.
Window { width: 600 height: 600 visible: true ChartView { title: "Line" anchors.fill: parent LineSeries { color: "red" width: 4 useOpenGL: true XYPoint { x: 0; y: 0 } XYPoint { x: 1.1; y: 2.1 } XYPoint { x: 1.9; y: 3.3 } XYPoint { x: 2.1; y: 2.1 } XYPoint { x: 2.9; y: 4.9 } XYPoint { x: 3.4; y: 3.0 } XYPoint { x: 4.1; y: 3.3 } } } Text { font.pixelSize: 20 text: "whatever overlay text to change OpenGL blending mode" //visible: false } }
Removing the overlay text fixes the problem probably because OpenGL blend function wouldn't be altered. (See the attached renderdoc capture for details.)
I'll send a patch shortly.