Skip to content

Sample project that add points to QML chart dynamically from C++

License

Notifications You must be signed in to change notification settings

nickaein/qtcharts_dynamic_series

Repository files navigation

qtcharts_dynamic_series

Sample project that add points to a QML chart dynamically from C++

This is sample/minimal application which demonstrates how new points for a QML LineSeries can be added dynamically (during runtime) either from another C++ thread or from the QML itself. The application uses QAbstractTableModel as base data model for the Lineseries.

There was a threading bug in the initial version that has been fixed.