summaryrefslogtreecommitdiffstats
path: root/examples/charts/scatterchart/chartview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revamp examplesMiikka Heikkinen2023-06-131-78/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Separate gallery example was created for widget and qml examples and most example code was moved under those two gallery examples. Examples left outside galleries for various reasons: - audio: Requires multimedia, which is an optional addon - openglseries: Requires OpenGL backend - qmloscilloscope: Complicated hybrid C++/QML example - qmlweather: Uses optional command line parameter - zoomlinechart: Uses gestures, which require grabbing main window Cleaned up the code of the remaining examples to same standard as galleries. Examples documentation will be updated in a separate commit. Task-number: QTBUG-94181 Task-number: QTBUG-111053 Task-number: QTBUG-113655 Change-Id: I6a98a4386364fcb2530e2667aea95760e6ff2983 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit 8f4629814f3df83e9ea85aebefb0e0c9929be476) Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-06-161-28/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ibb797d52859b5c504f7300f4a5dc956a7b44ac11 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Be (somewhat more) consistent about the value of piEdward Welbourne2017-06-141-4/+2
| | | | | | | | | Use M_PI in C++ and Math.PI in JavaScript (including QML). Use qmath.h's value for M_PI where we can't avoid an explicit value. Task-number: QTBUG-58083 Change-Id: I80c81444c1867f8f0c07f192fa68de933f48bbc4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add a possibility to change legend marker shapeMiikka Heikkinen2016-09-231-6/+5
| | | | | | | | | | | It is now possible to choose between rectangular, circular, and "from series" shapes for legend markers. The "from series" shape uses scatter dot items as legend markers in case of scatter series and a line segment for line and spline series. Task-number: QTBUG-50682 Change-Id: I58977ead88e1274e1f163516d32c4d290f4410f9 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* Updated licenseMiikka Heikkinen2016-01-131-9/+17
| | | | | | Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2015-10-201-11/+14
| | | | | Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Copyright header changesTitta Heikkala2015-04-231-3/+3
| | | | | | | Copyright header changes for Qt 5.5. Change-Id: I2b8e9356997de2c87a7436bcefd4d0948d566259 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2014-11-121-9/+7
| | | | | | | Updated new license headers and added missing ones to qdoc files. Change-Id: I9f2af2a8b44c3ebf19fd494628dfaa8775a47b06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-201-5/+5
| | | | | | | | | The includes for the whole project are changed to syntax: '#include <module/class> Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664 Task-number: QTRD-3373 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Qt Charts project file structure changeTitta Heikkala2014-10-141-0/+98
Charts repository structure is changed to follow the structure of a Qt Add-On module. The task includes following changes: - All macros and definitions named 'commercial' have been renamed. - Compile errors related to QString and qSort usage have been fixed. - Old demos are moved under examples. The QML examples now support only Qt Quick 2.0, the support for Qt Quick 1 is removed. - The QML examples with multiple views are updated so that they are usable also with touch devices. - Unnecessary version checks are removed from examples. - The build stamp has been removed as it was only meant for Charts development purposes and it's no longer needed. Also development build related debug prints are removed as __DATE__ can't be used for all OS thus it doesn't make much sense. - Documentation structure has been updated based on the new module structure. The raw HTML files have been removed. Demos are combined to examples. - Unnecessary .qdocinc files are no longer needed. The content is moved to the corresponding .cpp files. - The Charts widget designer plugin is updated according to the module change. - The test cases updated according to the project structure change. Tests are added also for version 2.0. - cmake modules generation is not needed with Qt 5.4 and Qt Charts so it's disabled. - The new module name and version are updated to the plugin.qmltypes file. Task-number: QTRD-2844, QTRD-3217, QTRD-3218, QTRD-3277, QTRD-3228, QTRD-2526, QTRD-3233, QTRD-3222 Change-Id: Ib7fb26057cde710ffaf6bc780c8bf52a16f45160 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>