##// 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
qscatterseries.h
41 lines | 783 B | text/x-c | CLexer
#ifndef QSCATTERSERIES_H
#define QSCATTERSERIES_H
#include "qchartglobal.h"
#include "qxyseries.h"
#include <QRectF>
#include <QColor>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QScatterSeriesPrivate;
class QTCOMMERCIALCHART_EXPORT QScatterSeries : public QXYSeries
{
public:
enum MarkerShape {
MarkerShapeCircle,
MarkerShapeRectangle
};
public:
QScatterSeries(QObject *parent = 0);
~QScatterSeries();
public: // from QChartSeries
QSeriesType type() const { return QSeries::SeriesTypeScatter; }
public:
MarkerShape shape() const;
void setShape(MarkerShape shape);
qreal size() const;
void setSize(qreal size);
private:
MarkerShape m_shape;
qreal m_size;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QSCATTERSERIES_H