Debian Codegraph @

src/chartsqml2/designer/default/PolarAreaSeries.qml

raw
1 // Copyright (C) 2016 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4 import QtQuick 2.0
5 import QtCharts 2.0
6
7
8 PolarChartView {
9 width: 300
10 height: 300
11 legend.visible: false
12
13 ValueAxis {
14 id: axis1
15 tickCount: 9
16 }
17 ValueAxis {
18 id: axis2
19 }
20 LineSeries {
21 id: lowerLine
22 axisAngular: axis1
23 axisRadial: axis2
24
25 XYPoint { x: 1; y: 5 }
26 XYPoint { x: 2; y: 10 }
27 XYPoint { x: 3; y: 12 }
28 XYPoint { x: 4; y: 17 }
29 XYPoint { x: 5; y: 20 }
30 }
31 LineSeries {
32 id: upperLine
33 axisAngular: axis1
34 axisRadial: axis2
35
36 XYPoint { x: 1; y: 5 }
37 XYPoint { x: 2; y: 14 }
38 XYPoint { x: 3; y: 20 }
39 XYPoint { x: 4; y: 32 }
40 XYPoint { x: 5; y: 35 }
41 }
42 AreaSeries {
43 name: "AreaSeries"
44 axisAngular: axis1
45 axisRadial: axis2
46 lowerSeries: lowerLine
47 upperSeries: upperLine
48 }
49 }