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

Fill QML Chart with Data from C++



  • Hey,

    I did a simple Qt LineChart just like here in the example:
    QML Line Chart

    Now I want to pass data from C++ to the qml chart but how? :)
    With a Listview I already did it with rootContext()->setContextProperty but it's not working with the chart (Maybe I'm doing something wrong...)

    Edit// Found the Solution in the "QML Oscilloscope" example.


Log in to reply