##// END OF EJS Templates
Use light outline color instead of dark for bar, area and scatter
Use light outline color instead of dark for bar, area and scatter

File last commit:

r571:0bb609016fcc
r653:f4e416c6727f
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