Why did "useOpenGL" not work?
-
I wrote a example :
import QtCharts 2.2 import QtQuick 2.2 ChartView { title: "Line" width: 800 height: 600 antialiasing: true LineSeries { name: "LineSeries" 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 } } }
And got the result:
Then set "useOpenGL: true" :
import QtCharts 2.2 import QtQuick 2.2 ChartView { title: "Line" width: 800 height: 600 antialiasing: true LineSeries { name: "LineSeries" 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 } } }
and got blank result:
Is there anyone help me?
-
I'm getting the same issue.
Have you solved this problem yet? If true, could you share me how to fix it?
Thanks!