Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. opengl supported linechart rotation problem
Servers for Qt installer are currently down

opengl supported linechart rotation problem

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 209 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    H.TA
    wrote on 27 Aug 2022, 19:08 last edited by
    #1

    '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);
    ![alt text](WhatsApp Image 2022-08-26 at 20.55.40.jpeg image url)

    //#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);
    ![alt text](WhatsApp Image 2022-08-26 at 20.54.55.jpeg image url)

    How can I solve this problem? Is there any other way?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      A.A.SEZEN
      wrote on 27 Aug 2022, 21:24 last edited by
      #2

      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 Reply Last reply
      0

      1/2

      27 Aug 2022, 19:08

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved