Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59092

QtCharts slows down when setRange() of axisX is called repeatedly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 5.9
    • 5.8.0
    • Charts
    • None
    • Qt 5.8.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by GCC 6.3.0) on "windows"
      OS: Windows 10 (10.0) [winnt version 10.0.14393]
      MSYS2 mingw64
      mingw64/mingw-w64-x86_64-qt5 5.8.0-2

    Description

      I want to display live data with QLineChart. The axisX labels must display current time or any time related property of the process. Everything works fast from the beginning but after several minutes (1-5) application slows down and consumes a lot of processor time.

      Attachments

        1. main.cpp
          0.2 kB
        2. main_window.cpp
          0.5 kB
        3. main_window.h
          0.4 kB

        Issue Links

          Activity

            People

              e0348803 Miikka Heikkinen
              slavun Vyacheslav Pedash
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: