Debian Codegraph @

examples/charts/qmlchartsgallery/qml/LineSeries.qml

raw
1 // Copyright (C) 2023 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4 import QtCharts
5
6 //![1]
7 ChartView {
8 title: "Line Chart"
9 anchors.fill: parent
10 antialiasing: true
11
12 LineSeries {
13 name: "Line"
14 XYPoint { x: 0; y: 0 }
15 XYPoint { x: 1.1; y: 2.1 }
16 XYPoint { x: 1.9; y: 3.3 }
17 XYPoint { x: 2.1; y: 2.1 }
18 XYPoint { x: 2.9; y: 4.9 }
19 XYPoint { x: 3.4; y: 3.0 }
20 XYPoint { x: 4.1; y: 3.3 }
21 }
22 }
23 //![1]