##// END OF EJS Templates
Fix zorder of axis, and ticks
Fix zorder of axis, and ticks

File last commit:

r149:23a271e217e1
r272:1946c776c83b
Show More
barlabel_p.h
34 lines | 605 B | text/x-c | CLexer
sauimone
added labels to barcharts
r114 #ifndef BARLABEL_H
#define BARLABEL_H
#include "chartitem_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class BarLabel : public ChartItem
{
public:
BarLabel(QGraphicsItem* parent = 0);
void set(QString label);
void setPos(qreal x, qreal y);
// From ChartItem
Michal Klocek
minor. compilation fix
r116 void setSize(const QSizeF &size);
sauimone
added labels to barcharts
r114
// From QGraphicsItem
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QRectF boundingRect() const;
private:
Michal Klocek
minor. compilation fix
r116 QSizeF mSize;
sauimone
added labels to barcharts
r114 QString mLabel;
qreal mXpos;
qreal mYpos;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARLABEL_H