##// 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
qchartview_p.h
65 lines | 1.6 KiB | text/x-c | CLexer
Michal Klocek
Updates chartdataset unit test
r771 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Michal Klocek
Updates chartdataset unit test
r771 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Michal Klocek
Updates chartdataset unit test
r771 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Michal Klocek
Updates chartdataset unit test
r771 **
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.
Michal Klocek
Updates chartdataset unit test
r771 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Michal Klocek
Updates chartdataset unit test
r771 **
****************************************************************************/
Michal Klocek
Adds qchartview privte missing file
r750 // W A R N I N G
// -------------
//
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 // This file is not part of the Qt Enterprise Chart API. It exists purely as an
Michal Klocek
Adds qchartview privte missing file
r750 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef QCHARTVIEW_P_H
#define QCHARTVIEW_P_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartView>
Michal Klocek
Adds qchartview privte missing file
r750
Christian Kandeler
Fix compilation with namespaced Qt....
r2774 QT_BEGIN_NAMESPACE
Michal Klocek
Adds qchartview privte missing file
r750 class QGraphicsScene;
Christian Kandeler
Fix compilation with namespaced Qt....
r2774 QT_END_NAMESPACE
Michal Klocek
Adds qchartview privte missing file
r750
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Adds qchartview privte missing file
r750
class QChart;
Christian Kandeler
Fix compilation with namespaced Qt....
r2774 class ChartPresenter;
Michal Klocek
Adds QChartView empty constructor to be able to promote qchartview in qtdesigner
r1290 class QChartView;
Michal Klocek
Adds qchartview privte missing file
r750
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 class QChartViewPrivate
{
Michal Klocek
Adds QChartView empty constructor to be able to promote qchartview in qtdesigner
r1290 public:
Jani Honkonen
Fix Krazy issues
r1935 explicit QChartViewPrivate(QChartView *q, QChart *chart = 0);
Michal Klocek
Adds qchartview privte missing file
r750 ~QChartViewPrivate();
Jani Honkonen
Implement QChartView::setChart()
r2056 void setChart(QChart *chart);
void resize();
Michal Klocek
Adds qchartview privte missing file
r750
Michal Klocek
Adds QChartView empty constructor to be able to promote qchartview in qtdesigner
r1290 protected:
QChartView *q_ptr;
public:
Michal Klocek
Adds qchartview privte missing file
r750 QGraphicsScene *m_scene;
QChart *m_chart;
QPoint m_rubberBandOrigin;
Titta Heikkala
Fix Chart build when QT_NO_RUBBERBAND is defined...
r2623 #ifndef QT_NO_RUBBERBAND
Michal Klocek
Adds qchartview privte missing file
r750 QRubberBand *m_rubberBand;
Titta Heikkala
Fix Chart build when QT_NO_RUBBERBAND is defined...
r2623 #endif
Michal Klocek
Adds qchartview privte missing file
r750 QChartView::RubberBands m_rubberBandFlags;
};
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Michal Klocek
Adds qchartview privte missing file
r750 #endif