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. QtChart & Gestures
Forum Update on Monday, May 27th 2025

QtChart & Gestures

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qtchart 5.8ioszoom
1 Posts 1 Posters 748 Views
  • 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 Offline
    J Offline
    J.Hilk
    Moderators
    wrote on 24 Jun 2017, 09:29 last edited by
    #1

    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


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

    1 Reply Last reply
    0

    1/1

    24 Jun 2017, 09:29

    • Login

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