Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtDataVisualization 1.2
|
||||
|
||||
Bars3D {
|
||||
width: 300
|
||||
height: 300
|
||||
Bar3DSeries {
|
||||
ItemModelBarDataProxy {
|
||||
itemModel: ListModel {
|
||||
ListElement{ row: "row 1"; column: "column 1"; value: "1"; }
|
||||
ListElement{ row: "row 1"; column: "column 2"; value: "2"; }
|
||||
ListElement{ row: "row 1"; column: "column 3"; value: "3"; }
|
||||
}
|
||||
|
||||
rowRole: "row"
|
||||
columnRole: "column"
|
||||
valueRole: "value"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtDataVisualization 1.2
|
||||
|
||||
Scatter3D {
|
||||
width: 300
|
||||
height: 300
|
||||
Scatter3DSeries {
|
||||
ItemModelScatterDataProxy {
|
||||
itemModel: ListModel {
|
||||
ListElement{ x: "1"; y: "2"; z: "3"; }
|
||||
ListElement{ x: "2"; y: "3"; z: "4"; }
|
||||
ListElement{ x: "3"; y: "4"; z: "1"; }
|
||||
}
|
||||
|
||||
xPosRole: "x"
|
||||
yPosRole: "y"
|
||||
zPosRole: "z"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtDataVisualization 1.2
|
||||
|
||||
Surface3D {
|
||||
width: 300
|
||||
height: 300
|
||||
Surface3DSeries {
|
||||
ItemModelSurfaceDataProxy {
|
||||
itemModel: ListModel {
|
||||
ListElement{ row: "1"; column: "1"; y: "1"; }
|
||||
ListElement{ row: "1"; column: "2"; y: "2"; }
|
||||
ListElement{ row: "2"; column: "1"; y: "3"; }
|
||||
ListElement{ row: "2"; column: "2"; y: "4"; }
|
||||
}
|
||||
|
||||
rowRole: "row"
|
||||
columnRole: "column"
|
||||
yPosRole: "y"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user