Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QtChart & Gestures

    Mobile and Embedded
    qtchart 5.8 ios zoom
    1
    1
    602
    Loading More Posts
    • 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.
    • J.Hilk
      J.Hilk Moderators last edited by

      Hello everyone,

      this weekend I decided to look a bit more into the QtCharts class.
      So far I'm exalted, and I'm defenitely using it for my next privat project!

      However, I run into a bit of a problem:
      I loaded the Zoom Line Example, compiled it and run it on my iPad air2.

      The problem is, there is a serious delay between the pinch gesture and the repainting of the ChartView. Up to 2 seconds delay!

      I simply added a qDebug output to see when and how often the QtChart::zoom function is called, and I can see that it gets multiple new scale factors but updates only once!

      This delay is horrible and makes it impossible to scale the chart to the deciered factor, and it would be better to add a QSlider that handles the Zoom.

      I'm using Qt 5.8 for this one and ios 10.3.2

      My question:
      Is there an option I forgot, or that is not shipped with the Zoom Line Example? Something that would reduce the delay. Idealy reduce it so much, that the repaint is in synch with your fingers doing the pinch?

      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct

      Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post