diff options
Diffstat (limited to 'examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml')
-rw-r--r-- | examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml b/examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml index 6fb213ce..e81dd749 100644 --- a/examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml +++ b/examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml @@ -50,12 +50,38 @@ Rectangle { //! [1] Scatter3DSeries { - id: scatterSeries - itemLabelFormat: "X:@xLabel Y:@yLabel Z:@zLabel" + id: scatterSeriesOne + itemLabelFormat: "One - X:@xLabel Y:@yLabel Z:@zLabel" mesh: Abstract3DSeries.MeshCube ItemModelScatterDataProxy { - itemModel: graphData.model + itemModel: graphData.modelOne + xPosRole: "xPos" + yPosRole: "yPos" + zPosRole: "zPos" + } + } + + Scatter3DSeries { + id: scatterSeriesTwo + itemLabelFormat: "Two - X:@xLabel Y:@yLabel Z:@zLabel" + mesh: Abstract3DSeries.MeshCube + + ItemModelScatterDataProxy { + itemModel: graphData.modelTwo + xPosRole: "xPos" + yPosRole: "yPos" + zPosRole: "zPos" + } + } + + Scatter3DSeries { + id: scatterSeriesThree + itemLabelFormat: "Three - X:@xLabel Y:@yLabel Z:@zLabel" + mesh: Abstract3DSeries.MeshCube + + ItemModelScatterDataProxy { + itemModel: graphData.modelThree xPosRole: "xPos" yPosRole: "yPos" zPosRole: "zPos" |