##// 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
qlineseries.h
50 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 **
****************************************************************************/
Michal Klocek
Fixes header guard style issues
r969 #ifndef QLINESERIES_H
#define QLINESERIES_H
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <QtCharts/QXYSeries>
#include <QtGui/QPen>
Michal Klocek
adds missing files form previous commit
r12
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
Michal Klocek
Adds big fat pimpl to series classes...
r938 class QLineSeriesPrivate;
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_EXPORT QLineSeries : public QXYSeries
Michal Klocek
adds missing files form previous commit
r12 {
Tero Ahola
Scatter customization to QML api
r1276 Q_OBJECT
Michal Klocek
Refactor domain model...
r439 public:
Michal Klocek
Krazy reported errors...
r974 explicit QLineSeries(QObject *parent = 0);
Michal Klocek
Fixes header guard style issues
r969 ~QLineSeries();
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
Michal Klocek
Refactor domain model...
r439
Michal Klocek
Adds big fat pimpl to series classes...
r938 protected:
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 QLineSeries(QLineSeriesPrivate &d, QObject *parent = 0);
Michal Klocek
Refactor scatter chart to fit the other classes...
r470
private:
Tero Ahola
QML weather example to use data API instead of model
r1222 Q_DECLARE_PRIVATE(QLineSeries)
Q_DISABLE_COPY(QLineSeries)
Michal Klocek
Adds big fat pimpl to series classes...
r938 friend class LineChartItem;
Michal Klocek
adds missing files form previous commit
r12 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Jani Honkonen
Spit&polish public headers
r2046 #endif // QLINESERIES_H