##// END OF EJS Templates
Fix piechartdrilldown bug. Chart was deleting the series from us.
Fix piechartdrilldown bug. Chart was deleting the series from us.

File last commit:

r571:0bb609016fcc
r617:fd7ce4629ee8
Show More
qlineseries.h
35 lines | 742 B | text/x-c | CLexer
Michal Klocek
Rename QChartSeries to QSeries
r360 #ifndef QLINESERIES_H_
#define QLINESERIES_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 line spline to common xyline...
r465 #include "qxyseries.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
Michal Klocek
Refactor line spline to common xyline...
r465 class QTCOMMERCIALCHART_EXPORT QLineSeries : public QXYSeries
Michal Klocek
adds missing files form previous commit
r12 {
Michal Klocek
Refactor domain model...
r439 public:
QLineSeries(QObject* parent=0);
virtual ~QLineSeries();
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 void setLinePen(const QPen& pen);
QPen linePen() const {return m_pen;}
void setPointsVisible(bool visible);
bool pointsVisible() const {return m_pointsVisible;}
Michal Klocek
Refactor domain model...
r439 public: // from QChartSeries
virtual QSeriesType type() const {return QSeries::SeriesTypeLine;}
Michal Klocek
Refactor line spline to common xyline...
r465 friend QDebug operator<< (QDebug d, const QLineSeries series);
Michal Klocek
Refactor scatter chart to fit the other classes...
r470 private:
QPen m_pen;
bool m_pointsVisible;
Michal Klocek
Spline series windows compilation fix
r467
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