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

File last commit:

r131:7f17c1eef296
r137:c3223f1ab305
Show More
qxychartseries.h
48 lines | 1005 B | text/x-c | CLexer
Michal Klocek
adds missing files form previous commit
r12 #ifndef QXYSERIES_H_
#define QXYSERIES_H_
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Tero Ahola
Renamed to QtCommercialChart
r30 #include "qchartglobal.h"
Michal Klocek
Refactor current draft to fit int current design specs...
r21 #include "qchartseries.h"
Michal Klocek
adds missing files form previous commit
r12 #include <QDebug>
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 #include <QPen>
#include <QBrush>
Michal Klocek
adds missing files form previous commit
r12
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
Tero Ahola
Renamed to QtCommercialChart
r30 class QTCOMMERCIALCHART_EXPORT QXYChartSeries : public QChartSeries
Michal Klocek
adds missing files form previous commit
r12 {
Michal Klocek
Refactors qchart , adds line animation...
r131 Q_OBJECT
Michal Klocek
Refactor current draft to fit int current design specs...
r21 private:
QXYChartSeries(QObject* parent=0);
Michal Klocek
adds missing files form previous commit
r12 public:
Michal Klocek
Refactor current draft to fit int current design specs...
r21 virtual ~QXYChartSeries();
Tero Ahola
One more alternative for changing themes
r108 public: // from QChartSeries
Michal Klocek
Refactor current draft to fit int current design specs...
r21 static QXYChartSeries* create(QObject* parent=0);
Tero Ahola
Renamed to QtCommercialChart
r30 virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeLine;}
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Tero Ahola
One more alternative for changing themes
r108 public:
Michal Klocek
Refactors qchart , adds line animation...
r131 int add(qreal x, qreal y);
void set(int index,qreal x,qreal y);
Michal Klocek
adds missing files form previous commit
r12 void clear();
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85
void setPen(const QPen& pen);
const QPen& pen() const { return m_pen;}
Michal Klocek
adds missing files form previous commit
r12 int count() const;
qreal x(int pos) const;
qreal y(int pos) const;
Michal Klocek
Refactor current draft to fit int current design specs...
r21 friend QDebug operator<< (QDebug d, const QXYChartSeries series);
Michal Klocek
adds missing files form previous commit
r12
Michal Klocek
Refactors qchart , adds line animation...
r131 signals:
void changed(int index);
Michal Klocek
adds missing files form previous commit
r12 private:
Michal Klocek
Refactors qchart , adds line animation...
r131 QVector<qreal> m_x;
QVector<qreal> m_y;
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 QPen m_pen;
Michal Klocek
adds missing files form previous commit
r12 };
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Michal Klocek
adds missing files form previous commit
r12 #endif