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