blob: 7c27cf8187c0b341ced877298a92885c4e5d9719 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtGraphs
import QtQuick
import QtQuick.Window
Window {
height: 512
width: 512
//! [scatter]
Scatter3D {
theme: GraphsTheme { theme: GraphsTheme.Theme.YellowSeries }
//! [scatter]
}
//! [bars]
Bars3D {
theme: GraphsTheme {
theme: GraphsTheme.Theme.QtGreenNeon
labelBorderVisible: true
labelFont.pointSize: 35
labelBackgroundVisible: false
}
//! [bars]
}
//! [surface]
Surface3D {
theme: GraphsTheme {
theme: GraphsTheme.Theme.UserDefined
backgroundColor: "red"
backgroundVisible: true
seriesColors: ["blue"]
colorStyle: GraphsTheme.ColorStyle.Uniform
labelFont.family: "Lucida Handwriting"
labelFont.pointSize: 35
gridVisible: false
grid.mainColor: "red"
grid.subColor: "blue"
labelBackgroundColor: "black"
labelBackgroundVisible: true
labelBorderVisible: false
labelTextColor: "white"
multiHighlightColor: "green"
singleHighlightColor: "darkRed"
}
//! [surface]
}
}
|