11import org.kde.quickcharts as Charts
12import org.kde.quickcharts.controls
18 property alias valueSources: pie.valueSources
19 property alias names: nameSource.array
20 property alias color: colorSource.baseColor
21 property alias range: pie.range
22 property alias chart: pie
23 property alias highlight: pie.highlight
25 property alias text: centerText.text
27 implicitWidth: Theme.gridUnit * 5
28 implicitHeight: Theme.gridUnit * 5
36 nameSource: Charts.ArraySource { id: nameSource; array: [ ] }
37 colorSource: Charts.ColorGradientSource { id: colorSource; baseColor: Theme.highlightColor; itemCount: pie.valueSources.length }
43 anchors.centerIn: parent;
45 horizontalAlignment:
Qt.AlignHCenter
46 verticalAlignment:
Qt.AlignVCenter
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:23 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.