diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-02-24 13:25:58 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-02-24 13:26:21 +0200 |
commit | 9d8b4d9a1889112d1af35af9b47f103bf388dda3 (patch) | |
tree | d5e21f3c2249587c8ee27ed95d42befc97bca874 /examples/datavisualization/qmlcustominput/qml/qmlcustominput/main.qml | |
parent | 08f9f6db042adb0fcb1211b048627e53b23ae026 (diff) |
qmlcustominput tweak
Change-Id: I9b251aca364928bbee64d8aa5d4397bbb0a20872
Change-Id: I9b251aca364928bbee64d8aa5d4397bbb0a20872
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
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" |