opengl supported linechart rotation problem
-
wrote on 27 Aug 2022, 19:08 last edited by
'm studying OpenGL Accelerated Series Example in QT Creator.
//Uncomment to use regular series instead of OpenGL accelerated series
#define DONT_USE_GL_SERIES when opengl is passive, chart has 1000 point and chart can be rotated to desired angle. added code that chartView->rotate(70);

//#define DONT_USE_GL_SERIES when opengl is active, chart has 100000 point
but does not rotate any angle. added code that chartView->rotate(70);

How can I solve this problem? Is there any other way?
-
wrote on 27 Aug 2022, 21:24 last edited by
OpenGL for QLineSeries and QScatterSeries has other issues as well. When OpenGL is active in these two, the "setUseOpenGL()" hovered event does not work and the ram usage for windows increases to about 3 times. I explained this situation with a sample project (its own examples actually) on https://bugreports.qt.io/browse/QTBUG-104427 on June 17, but no one has been interested yet. I don't know, maybe I made an understatement.
It seems a bit off-topic, but I think OpenGL is an expansion that should be avoided in terms of QChart these days. You may be preoccupied. I spent 1 week for the problem I described above. It occurred to me too late that this might be a bug. But after that I was able to find the problem. Don't make the same mistake.
1/2