##// END OF EJS Templates
removed legend background drawing
removed legend background drawing

File last commit:

r775:02f25710c73d
r785:fe2ea9e69ee8
Show More
qchartaxiscategories.h
38 lines | 731 B | text/x-c | CLexer
/ src / axis / qchartaxiscategories.h
Michal Klocek
Adds qchartaxiscategories class
r445 #ifndef QCHARTAXISCATEGORIES_H_
#define QCHARTAXISCATEGORIES_H_
Michal Klocek
Adds back reimplemnted categories handling
r701
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qchartglobal.h>
Michal Klocek
Adds back reimplemnted categories handling
r701 #include <qbarseries.h>
Michal Klocek
Adds qchartaxiscategories class
r445
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();
sauimone
more minor code review fixes
r745 void insert(const QBarCategories &category);
Michal Klocek
Adds qchartaxiscategories class
r445 void insert(qreal value,QString label);
void remove(qreal value);
Michal Klocek
Adds custom categories + example
r706 QList<qreal> values() const;
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
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
Michal Klocek
Adds qchartaxiscategories class
r445 void updated();
private:
QMap<qreal,QString> m_map;
friend class QChartAxis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* QCHARTAXISCATEGORIES_H_ */