##// END OF EJS Templates
Fix add/remove animation for pie and apply colors from theme when adding/removing
Fix add/remove animation for pie and apply colors from theme when adding/removing

File last commit:

r497:9455cddd70de
r659:7d415c8db783
Show More
qchartaxiscategories.h
34 lines | 622 B | text/x-c | CLexer
/ src / axis / qchartaxiscategories.h
#ifndef QCHARTAXISCATEGORIES_H_
#define QCHARTAXISCATEGORIES_H_
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QChartAxisCategories : public QObject
{
Q_OBJECT
private:
QChartAxisCategories();
public:
~QChartAxisCategories();
void insert(qreal value,QString label);
void remove(qreal value);
QString label(qreal value) const;
void clear();
int count();
//internal signal
signals:
void updated();
private:
QMap<qreal,QString> m_map;
friend class QChartAxis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* QCHARTAXISCATEGORIES_H_ */