src/chartsqml2/designer/default/PieSeries.qml
raw| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | import QtQuick 2.0 |
| 5 | import QtCharts 2.0 |
| 6 | |
| 7 | ChartView { |
| 8 | width: 300 |
| 9 | height: 300 |
| 10 | |
| 11 | PieSeries { |
| 12 | name: "PieSeries" |
| 13 | PieSlice { label: "Slice1"; value: 13.5 } |
| 14 | PieSlice { label: "Slice2"; value: 10.9 } |
| 15 | PieSlice { label: "Slice3"; value: 8.6 } |
| 16 | } |
| 17 | } |