##// 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
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 #ifndef BARCHARTSERIES_H
#define BARCHARTSERIES_H
#include <QList>
sauimone
Improved bar chart series
r71 #include <QAbstractItemModel>
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 #include "barchartseriesbase.h"
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
BarGroup and Bar as ChartItems instead of GraphicItems
r74 class BarGroup;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 QTCOMMERCIALCHART_BEGIN_NAMESPACE
// Container for series
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 class QTCOMMERCIALCHART_EXPORT BarChartSeries : public BarChartSeriesBase
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 {
sauimone
Improved bar chart series
r71 Q_OBJECT
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 public:
sauimone
proof of concept implementation for barset and barcategory
r169 BarChartSeries(QBarCategory &category, QObject* parent=0);
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 // from BarChartSeriesBase
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeBar; }
sauimone
Barset and barcategory implememtation. Updated test application
r171 void addBarSet(QBarSet &set);
void removeBarSet(QBarSet &set);
public Q_SLOTS:
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 private:
sauimone
BarGroup and Bar as ChartItems instead of GraphicItems
r74 BarGroup* mBarGroup;
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARCHARTSERIES_H