QML Scatter onclick event
-
Hello,
I am trying to modify the QML scatter Example. I would like to add an additional function when the user clicks on the items of the graph instead of just showing an item label of the x,y,z values.
This sounds like an easy task however my experience with Qt and the language is limited.
Could someone please show me how I can go about modifying the the onclick event when users click on the items of the graph?(which files to edit)Thank you very much.
-
Hello,
I am trying to modify the QML scatter Example. I would like to add an additional function when the user clicks on the items of the graph instead of just showing an item label of the x,y,z values.
This sounds like an easy task however my experience with Qt and the language is limited.
Could someone please show me how I can go about modifying the the onclick event when users click on the items of the graph?(which files to edit)Thank you very much.
-
Hi,
A more recent version of the example linked by @LeLev : https://doc.qt.io/qt-5/qtdatavisualization-qmlcustominput-example.html