Dynamic circles/dots
Unsolved
QML and Qt Quick
-
Hi,
What's the best way to create, move and delete small circles?
I would like to display small circles/dots.
Basically they will show a trend chart (one measurement every 5 minutes). After 5 minutes I add a new one and move the rest by one position. After 3hours the first one gets removed and a new one is added.
Thanks Ben -
Depends on what you have at backend. It can be a model, or you can simply create them dynamically.
-
My first advice would be to use the Chart Module ( https://doc.qt.io/qt-5/qtcharts-qmlmodule.html ) with https://doc.qt.io/qt-5/qml-qtcharts-vxymodelmapper.html hooked to a model