Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PYQT5 GUI Data and Line Graph
Qt 6.11 is out! See what's new in the release blog

PYQT5 GUI Data and Line Graph

Scheduled Pinned Locked Moved Unsolved Qt for Python
10 Posts 3 Posters 1.0k 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.
  • C Offline
    C Offline
    Crabnewbula
    wrote on last edited by
    #1

    Hi guys, I am using thermocouple to get data on my QT5 designer interface. I want that as interface read the data of thermocouple a graph should be shown at the same time , sort of Temperature vs Time. How I can do that??

    jsulmJ 1 Reply Last reply
    0
    • C Crabnewbula

      Hi guys, I am using thermocouple to get data on my QT5 designer interface. I want that as interface read the data of thermocouple a graph should be shown at the same time , sort of Temperature vs Time. How I can do that??

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Crabnewbula Sounds like https://doc.qt.io/qt-5/qtcharts-index.html is what you need

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

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Crabnewbula
        wrote on last edited by Crabnewbula
        #3
        This post is deleted!
        JonBJ 1 Reply Last reply
        0
        • C Crabnewbula

          This post is deleted!

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Crabnewbula
          Yes, it will. I believe for Python you need to install QtCharts via pip install (e.g. python3 -m pip install PyQtChart).

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Crabnewbula
            wrote on last edited by Crabnewbula
            #5

            @JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .

            jsulmJ JonBJ 2 Replies Last reply
            0
            • C Crabnewbula

              @JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Crabnewbula said in PYQT5 GUI Data and Line Graph:

              but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form

              But what exactly is the problem? Please ask specific questions.

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

              C 1 Reply Last reply
              0
              • C Crabnewbula

                @JonB Thanks, my bad :) for the python question but I have seen this and basically we are providing the values but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form .

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @Crabnewbula
                So just get your data and use QtCharts to plot desired temp/time, fine from Python.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Crabnewbula
                  wrote on last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Crabnewbula said in PYQT5 GUI Data and Line Graph:

                    but in my case I am getting the data through thermocouples and I want to represent that in Temp vs Time form

                    But what exactly is the problem? Please ask specific questions.

                    C Offline
                    C Offline
                    Crabnewbula
                    wrote on last edited by
                    #9

                    @jsulm I am using two thermocouples that are interfaced with arduino mega 2560 and using HC05 ( Bluetooth module) I am sending my data temperature data from arduino mega 2560 to my raspberry pi 4 then those two readings of both thermocouples are shown in my GUI and getting updated. I want to plot the graph for both of the thermocouple temperature w.r.t time.

                    jsulmJ 1 Reply Last reply
                    0
                    • C Crabnewbula

                      @jsulm I am using two thermocouples that are interfaced with arduino mega 2560 and using HC05 ( Bluetooth module) I am sending my data temperature data from arduino mega 2560 to my raspberry pi 4 then those two readings of both thermocouples are shown in my GUI and getting updated. I want to plot the graph for both of the thermocouple temperature w.r.t time.

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Crabnewbula So, you already get the data, right? Then use QtCharts to plot this data. There are also examples: https://doc.qt.io/qt-5/qtcharts-examples.html

                      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