Debian Codegraph @

examples/charts/qmlchartsgallery/qml/SplineSeries.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: "Spline Chart"
9 anchors.fill: parent
10 antialiasing: true
11
12 SplineSeries {
13 name: "Spline"
14 XYPoint { x: 0; y: 0.0 }
15 XYPoint { x: 1.1; y: 3.2 }
16 XYPoint { x: 1.9; y: 2.4 }
17 XYPoint { x: 2.1; y: 2.1 }
18 XYPoint { x: 2.9; y: 2.6 }
19 XYPoint { x: 3.4; y: 2.3 }
20 XYPoint { x: 4.1; y: 3.1 }
21 }
22 }
23 //![1]