##// 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
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; }
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