##// 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
Michal Klocek
Adds qchartaxiscategories class
r445 #ifndef QCHARTAXISCATEGORIES_H_
#define QCHARTAXISCATEGORIES_H_
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Tero Ahola
Added missing export to QChartAxisCategories definition
r448 class QTCOMMERCIALCHART_EXPORT QChartAxisCategories : public QObject
Michal Klocek
Adds qchartaxiscategories class
r445 {
Q_OBJECT
private:
QChartAxisCategories();
public:
~QChartAxisCategories();
void insert(qreal value,QString label);
void remove(qreal value);
Michal Klocek
Adds draft of axis bar label support
r497 QString label(qreal value) const;
Michal Klocek
Adds qchartaxiscategories class
r445 void clear();
int count();
//internal signal
signals:
void updated();
private:
QMap<qreal,QString> m_map;
friend class QChartAxis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* QCHARTAXISCATEGORIES_H_ */