##// END OF EJS Templates
Using new theme in barcharts
Using new theme in barcharts

File last commit:

r470:5c708e3e7c7c
r509:26832e993d66
Show More
qlineseries.h
36 lines | 752 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
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