##// END OF EJS Templates
Check that areaseries is actually in chart before trying to update....
Check that areaseries is actually in chart before trying to update. When a line series is used both as a series on chart and as an area series boundary, but not at the same time, animation can sometimes get confused as to what series to update if the area series is removed from the chart and the line series is added to the chart while a series animation is running. Task-number: QTRD-3445 Change-Id: Ia3d72d3ceba784b6e162b2c9b678acdc3e3ffcac Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2800:891ed0097501
Show More
qsplineseries.h
49 lines | 1.3 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 **
****************************************************************************/
Marek Rosa
Spline initial
r295 #ifndef QSPLINESERIES_H
#define QSPLINESERIES_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
Titta Heikkala
Qt Charts project file structure change...
r2712 #include <QtCharts/qlineseries.h>
Titta Heikkala
Fix include syntax...
r2714 #include <QtCore/QList>
#include <QtCore/QPointF>
#include <QtCore/QtGlobal>
Marek Rosa
Spline initial
r295
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Marek Rosa
Spline initial
r295
Michal Klocek
Adds big fat pimpl to series classes...
r938 class QSplineSeriesPrivate;
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_EXPORT QSplineSeries : public QLineSeries
Marek Rosa
Spline initial
r295 {
Q_OBJECT
Marek Rosa
Spline some more
r305
Tero Ahola
Scatter customization to QML api
r1276 public:
Michal Klocek
Fixes explicit issues in cstr
r970 explicit QSplineSeries(QObject *parent = 0);
Michal Klocek
Bugfixes for spline vector allocation issues
r1082 ~QSplineSeries();
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
Marek Rosa
Spline some more
r305
Michal Klocek
Spline series windows compilation fix
r467 private:
Tero Ahola
QML weather example to use data API instead of model
r1222 Q_DECLARE_PRIVATE(QSplineSeries)
Q_DISABLE_COPY(QSplineSeries)
Michal Klocek
Adds big fat pimpl to series classes...
r938 friend class SplineChartItem;
Marek Rosa
Spline initial
r295 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Marek Rosa
Spline initial
r295
#endif // QSPLINESERIES_H