##// END OF EJS Templates
Barset and barcategory implememtation. Updated test application
Barset and barcategory implememtation. Updated test application

File last commit:

r171:d4b8c60ed973
r171:d4b8c60ed973
Show More
barchartseries.h
34 lines | 670 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; }
void addBarSet(QBarSet &set);
void removeBarSet(QBarSet &set);
public Q_SLOTS:
private:
BarGroup* mBarGroup;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARCHARTSERIES_H