##// END OF EJS Templates
Revert previous change to LineChartItem...
Revert previous change to LineChartItem The m_points private member in LineChartItem is needed after all. If the points from XYChart are used, the old line is not properly cleared with animations. The variable is now renamed to reduce confusion. Change-Id: I35fcb708017d1a423a6e42eb1721c0b332a3a995 Task-number: QTRD-3489 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2818:d27e6a35ae04
Show More
main.cpp
38 lines | 1.1 KiB | text/x-c | CppLexer
Michal Klocek
Uninfy examples , updated public API changes
r747 /****************************************************************************
Jani Honkonen
Add/modify license headers
r830 **
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Jani Honkonen
Add/modify license headers
r830 ** 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/modify license headers
r830 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Jani Honkonen
Add/modify license headers
r830 **
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/modify license headers
r830 **
** 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/modify license headers
r830 **
****************************************************************************/
Michal Klocek
Uninfy examples , updated public API changes
r747
Titta Heikkala
Fix include syntax...
r2714 #include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
Tero Ahola
Fixed presenter and scatter examples and their documentation.
r1015 #include "chartview.h"
Michal Klocek
Update scatter example and docs
r471
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_USE_NAMESPACE
Michal Klocek
Update scatter example and docs
r471
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Jani Honkonen
Add newlines to examples to make docs nicer
r883
Michal Klocek
Uninfy examples , updated public API changes
r747 //![4]
Jani Honkonen
more coding style fixes for examples...
r2102 ChartView *chartView = new ChartView();
Michal Klocek
Uninfy examples , updated public API changes
r747 QMainWindow window;
Michal Klocek
Update scatter example and docs
r471 window.setCentralWidget(chartView);
window.resize(400, 300);
window.show();
Tero Ahola
Fixed presenter and scatter examples and their documentation.
r1015 //![4]
Jani Honkonen
Add newlines to examples to make docs nicer
r883
Michal Klocek
Update scatter example and docs
r471 return a.exec();
}