summaryrefslogtreecommitdiffstats
path: root/src/graphs2d/qml/designer/default/BarSeries.qml
blob: 84d674c095c1e94c0bd7f24dbb8b7743c8fccf59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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

    BarSeries {
        id: barSeries
        BarSet { id: set1; label: "Set1"; values: [2, 2, 3] }
        BarSet { id: set2; label: "Set2"; values: [5, 1, 2] }
        BarSet { id: set3; label: "Set3"; values: [3, 5, 8] }
    }
}