Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is it possible to draw real time graphics in QML ?



  • Hello everyone, i'm a beginner to QT and QML (also to C++) trying to imitate a gui which i have seen on the internet. I need 5 different graphics with random values (5 charts) which aren't dependent to other and is responsive whole time, i have managed to do that in QTC++ with QCustomPlot but now i want to do that also in QtQuick. Is that possible ? I can't add QWidget for using QCustomPlot and QCharts crashes the app before it fills the graphs.



  • you can use 'Qt Data Visualization'

    eab9b6f7-4b04-4645-8c9f-388a690109b1-image.png

    If you want to use this, you should check the component.
    fe42f6e0-dae3-4e47-bbf2-3542cc15a861-image.png

    then you can select the exam.
    b161457a-cd02-4d08-a372-1569b00e932c-image.png


  • Qt Champions 2018

    or Qt Charts for non 3D stuff.

    Note that both module are only licensed under GPL3 or commercial license, no LGPL3.

    So you have to open-source your app or pay to use Qt.



  • Check out the "Scene Graph - Graph" example available in the "Welcome" menu of Qt Creator. It has an example that creates a custom QtQuick graph object.


Log in to reply