##// END OF EJS Templates
Add more themes to piechartcustomization
Add more themes to piechartcustomization

File last commit:

r571:0bb609016fcc
r658:6c43bf929dc5
Show More
qlineseries.h
35 lines | 742 B | text/x-c | CLexer
#ifndef QLINESERIES_H_
#define QLINESERIES_H_
#include "qchartglobal.h"
#include "qxyseries.h"
#include <QDebug>
#include <QPen>
#include <QBrush>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QLineSeries : public QXYSeries
{
public:
QLineSeries(QObject* parent=0);
virtual ~QLineSeries();
void setLinePen(const QPen& pen);
QPen linePen() const {return m_pen;}
void setPointsVisible(bool visible);
bool pointsVisible() const {return m_pointsVisible;}
public: // from QChartSeries
virtual QSeriesType type() const {return QSeries::SeriesTypeLine;}
friend QDebug operator<< (QDebug d, const QLineSeries series);
private:
QPen m_pen;
bool m_pointsVisible;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif