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. Regarding QtCustomPlot for plotting the data in real-time
Qt 6.11 is out! See what's new in the release blog

Regarding QtCustomPlot for plotting the data in real-time

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 3 Posters 1.4k 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.
  • user_eduU Offline
    user_eduU Offline
    user_edu
    wrote on last edited by user_edu
    #1

    I'm making certain changes to the existing code on BLE heart listener application. I am interested in plotting the values of the heart rate measurement characteristic in real-time. I followed the basic tutorial on QCustomPlot for real-time plotting of the data, however, I am not sure about how can I use it with QtQuick. I mean in the main.cpp, already a view will be handled which allows user to select the relevant device from the list of available BLE devices. So should I create another .cpp file for plotting purpose and create the object of that class in the class which is getting the heart rate measurement characteristic value. I am very confused about how can this be achieved. Any kind of guidance or pseudo code will help. Thank you.
    Link: BLE heart listener: http://doc.qt.io/qt-5/qtbluetooth-heartlistener-example.html

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      You will not be able to use the QCustomPlot widget inside the QML Window.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      4
      • user_eduU Offline
        user_eduU Offline
        user_edu
        wrote on last edited by
        #3

        So can I create another .cpp in the same project for the window. Or any other suggestion that can be considered to implement the plotting functionality, can I use QWT?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          KITSkajal
          wrote on last edited by
          #4

          please help me .i too having same question.about how to plot real time graph.can any one hv idea

          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