##// END OF EJS Templates
Commented out legend temporarily (crashes for some reason)
Commented out legend temporarily (crashes for some reason)

File last commit:

r544:e21e24989fda
r549:95627cf08ab0
Show More
qlineseries.h
39 lines | 802 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 Q_OBJECT
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
Adds clicked to lineseries API
r542 signals:
Michal Klocek
Adds clicked(Point) to lineSeries, changes visible points handling
r544 void clicked(const QPointF& point);
Michal Klocek
Adds clicked to lineseries API
r542
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