20 #ifndef ECHARTPIEQML_H
21 #define ECHARTPIEQML_H
31 Q_PROPERTY(
bool percents READ percents WRITE setPercents)
33 #if QT_VERSION >= 0x050000
39 void setPercents(
bool percent);
40 bool percents()
const;
42 Q_INVOKABLE
void addPie(
double value,
const QString label, QColor color = QColor());
48 #endif // ECHARTPIEQML_H
The base QML export class for EChart widgets.
Definition: echartbaseqml.h:42
Definition: echartpieqml.h:28
EChartPie * eChartPie
Definition: echartpieqml.h:45
Class to draw pie charts.Just add one data set per piece (with one x-value). The x-Values should be t...
Definition: echartpie.h:39
#define E_CHARTS_EXPORT
Definition: echarts.h:31