##// END OF EJS Templates
updated barchart examples
updated barchart examples

File last commit:

r169:1723c50daa1e
r170:ff886517a70e
Show More
percentbarchartseries.h
31 lines | 638 B | text/x-c | CLexer
/ src / barchart / percentbarchartseries.h
sauimone
percent bar chart
r101 #ifndef PERCENTBARCHARTSERIES_H
#define PERCENTBARCHARTSERIES_H
#include <QList>
#include <QAbstractItemModel>
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 #include "barchartseriesbase.h"
sauimone
percent bar chart
r101
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PercentBarGroup;
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 class QTCOMMERCIALCHART_EXPORT PercentBarChartSeries : public BarChartSeriesBase
sauimone
percent bar chart
r101 {
Q_OBJECT
public:
sauimone
proof of concept implementation for barset and barcategory
r169 PercentBarChartSeries(QBarCategory &category, QObject* parent=0);
sauimone
percent bar chart
r101
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 // from BarChartSeriesBase
sauimone
percent bar chart
r101 virtual QChartSeriesType type() const { return QChartSeries::SeriesTypePercentBar; }
public Q_SLOTS:
private:
PercentBarGroup* mPercentBarGroup;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // PERCENTBARCHARTSERIES_H