##// END OF EJS Templates
Fixed AreaSeries initialization for PolarChart...
Fixed AreaSeries initialization for PolarChart The correct domain has to be set for the upper and the lower series of the AreaSeries with polar chart. Updating the geometry of LineChartItem will have problems if the correct domain is not set. Change-Id: Id9664ae175d2ee272c4705fbdbf17d9a719cf428 Task-number: QTRD-3507 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2791:53fbaba3122c
Show More
qscatterseries.h
73 lines | 2.2 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Jani Honkonen
Add license headers
r794 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** Licensees holding valid commercial license for Qt may use this file in
** accordance with the Qt License Agreement provided with the Software
** or, alternatively, in accordance with the terms contained in a written
Titta Heikkala
Copyright header changes...
r2776 ** agreement between you and The Qt Company.
Jani Honkonen
Add license headers
r794 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Jani Honkonen
Add license headers
r794 **
****************************************************************************/
Tero Ahola
Integrated scatter type series...
r42 #ifndef QSCATTERSERIES_H
#define QSCATTERSERIES_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
Titta Heikkala
Qt Charts project file structure change...
r2712 #include <QtCharts/qxyseries.h>
Tero Ahola
Integrated scatter type series...
r42
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Adds big fat pimpl to series classes...
r938
Tero Ahola
Integrated scatter type series...
r42 class QScatterSeriesPrivate;
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_EXPORT QScatterSeries : public QXYSeries
Tero Ahola
Integrated scatter type series...
r42 {
Tero Ahola
Scatter customization to QML api
r1276 Q_OBJECT
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor NOTIFY borderColorChanged)
Q_PROPERTY(MarkerShape markerShape READ markerShape WRITE setMarkerShape)
Q_PROPERTY(qreal markerSize READ markerSize WRITE setMarkerSize)
Titta Heikkala
Add possibility to set brush image via QML API...
r2681 Q_PROPERTY(QBrush brush READ brush WRITE setBrush)
Tero Ahola
Scatter customization to QML api
r1276 Q_ENUMS(MarkerShape)
Tero Ahola
Scatter series marker visuals
r195
public:
enum MarkerShape {
Michal Klocek
Adds missing scatter intercation implementation...
r541 MarkerShapeCircle,
MarkerShapeRectangle
Tero Ahola
Scatter series marker visuals
r195 };
Tero Ahola
Integrated scatter type series...
r42 public:
Michal Klocek
Adds big fat pimpl to series classes...
r938 explicit QScatterSeries(QObject *parent = 0);
Tero Ahola
Integrated scatter type series...
r42 ~QScatterSeries();
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
Tero Ahola
Color and border color properties of XYSeries
r1537 void setPen(const QPen &pen);
void setBrush(const QBrush &brush);
Titta Heikkala
Add possibility to set brush image via QML API...
r2681 QBrush brush() const;
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 void setColor(const QColor &color);
QColor color() const;
void setBorderColor(const QColor &color);
QColor borderColor() const;
Tero Ahola
Scatter customization to QML api
r1276 MarkerShape markerShape() const;
void setMarkerShape(MarkerShape shape);
qreal markerSize() const;
void setMarkerSize(qreal size);
Tero Ahola
Modifying QScatterSeries API
r179
Tero Ahola
Added notifiers for scatter properties
r1349 Q_SIGNALS:
Tero Ahola
color and borderColor properties to XY charts; removed unnecessary signals
r1481 void colorChanged(QColor color);
void borderColorChanged(QColor color);
Tero Ahola
Added notifiers for scatter properties
r1349
Tero Ahola
Integrated scatter type series...
r42 private:
Tero Ahola
QML weather example to use data API instead of model
r1222 Q_DECLARE_PRIVATE(QScatterSeries)
Q_DISABLE_COPY(QScatterSeries)
Michal Klocek
Adds big fat pimpl to series classes...
r938 friend class ScatterChartItem;
Tero Ahola
Integrated scatter type series...
r42 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Tero Ahola
Integrated scatter type series...
r42
#endif // QSCATTERSERIES_H