Debian Codegraph @

examples/charts/qmlchartsgallery/qml/BoxPlotSeries.qml

raw
1 // Copyright (C) 2023 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4 import QtQuick
5 import QtCharts
6
7 ChartView {
8 title: "Box Plot Chart"
9 legend.alignment: Qt.AlignBottom
10 antialiasing: true
11
12 BoxPlotSeries {
13 id: plotSeries
14 name: "Income"
15 BoxSet { label: "Jan"; values: [3, 4, 5.1, 6.2, 8.5] }
16 BoxSet { label: "Feb"; values: [5, 6, 7.5, 8.6, 11.8] }
17 BoxSet { label: "Mar"; values: [3.2, 5, 5.7, 8, 9.2] }
18 BoxSet { label: "Apr"; values: [3.8, 5, 6.4, 7, 8] }
19 BoxSet { label: "May"; values: [4, 5, 5.2, 6, 7] }
20 }
21 }