summaryrefslogtreecommitdiffstats
path: root/src/graphs2d/qml/designer/default/ScatterSeries.qml
blob: f1b1d5086b28b2d80fabbf15680666c79a9316bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick
import QtGraphs

GraphsView {
    width: 300
    height: 300

    ScatterSeries {
        id: lineSeries
        XYPoint { x: 1; y: 1 }
        XYPoint { x: 2; y: 4 }
        XYPoint { x: 4; y: 2 }
        XYPoint { x: 5; y: 5 }
    }
}