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. 2-d Histogram
Forum Updated to NodeBB v4.3 + New Features

2-d Histogram

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 250 Views 1 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.
  • W Offline
    W Offline
    weibull-distribution
    wrote on last edited by
    #1

    Hi folks,

    I'm developing a private-licensed application for operating a high-performance scientific instrument. We need to generate the following plots with a high degree of performance:

    1. 1-d histogram
    2. 2-d histogram (heatmap where bins are changed color based on occupation)
    3. bar chart
    4. complex histogram consisting of bars that represent 1-d histogram, arranged horizontally

    All need to have update frequencies of no less than 15 Hz and preferably 60 Hz.

    My plan is to write the User Interface in QML, and then write the backend in Qt/C++. My hope was to develop the backend to run all the math separately in slave threads and update dynamically using QML's engine.set_context_property(). QML side widgets would run a timer to update, and a local object would be present to manage bandwidth.

    Question: a lot of good work has been done on developing these items in Qt Widget space (see Qwt). I sure would like to not have to custom-roll every single one of these plots. Does anyone have any suggestions about the best way to proceed?

    best,
    j

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

      Hi and welcome to devnet,

      You might want to check the new Qt Graphs module.

      Hope it helps

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

      1 Reply Last reply
      0

      • Login

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