Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is there anyway to create histogram without using Qgraphs or Qchart
Forum Updated to NodeBB v4.3 + New Features

Is there anyway to create histogram without using Qgraphs or Qchart

Scheduled Pinned Locked Moved Solved QML and Qt Quick
7 Posts 5 Posters 150 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.
  • V Offline
    V Offline
    Videas
    wrote last edited by
    #1

    Hi, I am working with a project that draw histogram based on the realtime data. I tried Qgraphs but it was not good as there are many flickers, maybe due to the real-time update. So I am changed to Qcustomplot but Qcustomplot is used for Qt Widget, not Qt Quick and Qml, so it hard to connect between 2. I tried but still stuck here. Any one has recommendation or any website with the toturial that I can use to solve this issue

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      The 3D rendering is faster than the 2D, would that be an option ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        The 3D rendering is faster than the 2D, would that be an option ?

        V Offline
        V Offline
        Videas
        wrote last edited by
        #3

        @SGaist Hi,
        I tried today but it gets crash once the app starts get the data, it didn't show any errors, I don't know why.

        Do you have any other recommendation? And in future, this app also requires to process the data well (mainly for showing and processing data). I searched but there are some other thing like python, QQuickItem, QQE, Qwt,.... like several options and I don't know what to choose. I tried with Qcustomplot also but didn't successful

        jsulmJ 1 Reply Last reply
        0
        • V Videas

          @SGaist Hi,
          I tried today but it gets crash once the app starts get the data, it didn't show any errors, I don't know why.

          Do you have any other recommendation? And in future, this app also requires to process the data well (mainly for showing and processing data). I searched but there are some other thing like python, QQuickItem, QQE, Qwt,.... like several options and I don't know what to choose. I tried with Qcustomplot also but didn't successful

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote last edited by
          #4

          @Videas Did you use debugger to see why it is crashing?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • goldenhawkingG Offline
            goldenhawkingG Offline
            goldenhawking
            wrote last edited by
            #5

            Real-time histo can be smoothly rendered by QImage. Another choice is Qwt

            OIP-C.jpg

            Qt is the best C++ framework I've ever met.

            1 Reply Last reply
            2
            • Z Offline
              Z Offline
              zvoopz
              wrote last edited by
              #6

              That`s how QML Canvas renders graph
              Try ite393c92d-bfda-4cfa-8d0d-ff98bd7f1cc7-зображення.png

              1 Reply Last reply
              0
              • V Offline
                V Offline
                Videas
                wrote last edited by
                #7

                Thank you! I did not see your comment and tried with QQuickItem, it also worked!
                image.png

                1 Reply Last reply
                0
                • V Videas has marked this topic as solved

                • Login

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