I want to add rotation of graphs feature to the below scatter 3D graphs :
<code>Scatter3D {
id: scatter3d
width: parent.width
height: parent.height
anchors.centerIn: parent
theme: Theme3D {
backgroundColor: "black"
}
Scatter3DSeries {
baseColor: "red"
ItemModelScatterDataProxy {
itemModel: dataModel
//Mapping model roles to scatter series item coordinates.
xPosRole: "xPos"
yPosRole: "yPos"
zPosRole: "zPos"
}
}
}
</code>
<code>Scatter3D {
id: scatter3d
width: parent.width
height: parent.height
anchors.centerIn: parent
theme: Theme3D {
backgroundColor: "black"
}
Scatter3DSeries {
baseColor: "red"
ItemModelScatterDataProxy {
itemModel: dataModel
//Mapping model roles to scatter series item coordinates.
xPosRole: "xPos"
yPosRole: "yPos"
zPosRole: "zPos"
}
}
}
</code>
Scatter3D {
id: scatter3d
width: parent.width
height: parent.height
anchors.centerIn: parent
theme: Theme3D {
backgroundColor: "black"
}
Scatter3DSeries {
baseColor: "red"
ItemModelScatterDataProxy {
itemModel: dataModel
//Mapping model roles to scatter series item coordinates.
xPosRole: "xPos"
yPosRole: "yPos"
zPosRole: "zPos"
}
}
}
How to add rotation feature ?