##// END OF EJS Templates
added labels to series, intergrated with test app. minor hack to test app
added labels to series, intergrated with test app. minor hack to test app

File last commit:

r161:cc2daab2560d
r167:023d2c8150a8
Show More
barchartseries.h
29 lines | 557 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
Refactored series creation.
r62 BarChartSeries(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