##// END OF EJS Templates
Remove obsolete setBackgroundColor form QChart
Remove obsolete setBackgroundColor form QChart

File last commit:

r120:c64ea33f6f52
r137:c3223f1ab305
Show More
qchartseries.h
50 lines | 1.2 KiB | text/x-c | CLexer
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #ifndef QCHARTSERIES_H
#define QCHARTSERIES_H
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #include <QObject>
sauimone
Improved bar chart series
r71 #include <QAbstractItemModel>
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed to QtCommercialChart
r30 class QTCOMMERCIALCHART_EXPORT QChartSeries : public QObject
Michal Klocek
Fix missing file from one of the prvious commits...
r23 {
sauimone
Improved bar chart series
r71 Q_OBJECT
Michal Klocek
Fix missing file from one of the prvious commits...
r23 public:
Tero Ahola
Renamed to QtCommercialChart
r30 enum QChartSeriesType {
Tero Ahola
Proof-of-concept for QML api...
r120 SeriesTypeInvalid = -1,
SeriesTypeLine,
Tero Ahola
Renamed to QtCommercialChart
r30 // SeriesTypeArea,
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 SeriesTypeBar,
sauimone
added stacked bar chart
r94 SeriesTypeStackedBar,
sauimone
percent bar chart
r101 SeriesTypePercentBar,
Tero Ahola
Integrated draft version of pie series
r51 SeriesTypePie,
Tero Ahola
Renamed to QtCommercialChart
r30 SeriesTypeScatter
// SeriesTypeSpline
};
Michal Klocek
Fix missing file from one of the prvious commits...
r23
protected:
Michal Klocek
Revert "Integrated scatter series"...
r39 QChartSeries(QObject *parent = 0):QObject(parent){};
Michal Klocek
Fix missing file from one of the prvious commits...
r23
public:
Michal Klocek
Revert "Integrated scatter series"...
r39 virtual ~QChartSeries(){};
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Refactored series creation with QChart
r61 // Factory method
sauimone
Refactored series creation.
r62 static QChartSeries* create(QChartSeriesType type, QObject* parent = 0 );
Tero Ahola
Refactored series creation with QChart
r61 // Pure virtual
Michal Klocek
Fix missing file from one of the prvious commits...
r23 virtual QChartSeriesType type() const = 0;
Michal Klocek
Revert "Integrated scatter series"...
r39
Tero Ahola
Refactored the test app
r110 virtual bool setData(QList<int> /*data*/) { return false; }
virtual bool setData(QList<qreal> /*data*/) { return false; }
virtual bool setData(QList<qreal> /*x*/, QList<qreal> /*y*/){ return false; }
sauimone
Improved bar chart series
r71
// Prototype for data model. TODO: remove the other setData methods and use something like this for now?
Tero Ahola
Refactored the test app
r110 virtual bool setData(QAbstractItemModel* /*model*/) { return false; }
sauimone
Improved bar chart series
r71
Michal Klocek
Fix missing file from one of the prvious commits...
r23 };
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
#endif