##// 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
#ifndef QCHARTAXISCATEGORIES_H_
#define QCHARTAXISCATEGORIES_H_
#include <qchartglobal.h>
#include <qbarseries.h>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QChartAxisCategories : public QObject
{
Q_OBJECT
private:
QChartAxisCategories();
public:
~QChartAxisCategories();
void insert(const QBarCategories &category);
void insert(qreal value,QString label);
void remove(qreal value);
QList<qreal> values() const;
QString label(qreal value) const;
void clear();
int count();
//internal signal
Q_SIGNALS:
void updated();
private:
QMap<qreal,QString> m_map;
friend class QChartAxis;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* QCHARTAXISCATEGORIES_H_ */