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

File last commit:

r169:1723c50daa1e
r170:ff886517a70e
Show More
barchartseries.h
29 lines | 581 B | text/x-c | CLexer
#ifndef BARCHARTSERIES_H
#define BARCHARTSERIES_H
#include <QList>
#include <QAbstractItemModel>
#include "barchartseriesbase.h"
class BarGroup;
QTCOMMERCIALCHART_BEGIN_NAMESPACE
// Container for series
class QTCOMMERCIALCHART_EXPORT BarChartSeries : public BarChartSeriesBase
{
Q_OBJECT
public:
BarChartSeries(QBarCategory &category, QObject* parent=0);
// from BarChartSeriesBase
virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeBar; }
private:
BarGroup* mBarGroup;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARCHARTSERIES_H