##// END OF EJS Templates
added labels to barcharts
added labels to barcharts

File last commit:

r108:4cbe204cc325
r114:a235f6009c27
Show More
chartitem_p.h
21 lines | 508 B | text/x-c | CLexer
Tero Ahola
Refactoring continued: restored ChartItem class
r104 #ifndef CHARTITEM_H_
#define CHARTITEM_H_
#include "plotdomain_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Tero Ahola
One more alternative for changing themes
r108
class ChartItem : public QGraphicsItem
Tero Ahola
Refactoring continued: restored ChartItem class
r104 {
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
ChartItem(QGraphicsItem* parent = 0):QGraphicsItem(parent){};
virtual ~ChartItem(){};
Tero Ahola
One more alternative for changing themes
r108 virtual void setSize(const QSize &size) = 0;
virtual void setPlotDomain(const PlotDomain& data) = 0;
Tero Ahola
Refactoring continued: restored ChartItem class
r104 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */