summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5.2' in qt/qtchartsv6.5.26.5.2Qt Submodule Update Bot2023-07-071-3/+3
| | | | | Change-Id: Ic7f97ae5ae088dff65f70bdb3e65b0359c62c8dd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.2' in qt/qtchartsQt Submodule Update Bot2023-06-301-3/+3
| | | | | Change-Id: Id15eca8b3ecce357cb1ad081de4825861d074643 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.2' in qt/qtchartsQt Submodule Update Bot2023-06-211-3/+3
| | | | | Change-Id: I4e9ca028ce88495d7a8af42bb88ce96c2361cb8f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.2' in qt/qtchartsQt Submodule Update Bot2023-06-211-3/+3
| | | | | Change-Id: I6fdbe94e7ef5a308b3a7373aca6e541a5c3da4b6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Docs: Fix Charts API Docs Broken LinksNicholas Bennett2023-06-1827-47/+40
| | | | | | | | | | Removed some links, mostly pointed to the new collated examples. Fixes: QTBUG-114221 Change-Id: Idac312fb819e7a3bbb0fb2aced7f56f5f90db1c1 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 83b2c1f09efecc127eabfb4923e34d93437a2758) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Update documentation for Qt Charts QML GalleryNicholas Bennett2023-06-1814-214/+230
| | | | | | | | | | | | Relocated documentation to the example folder, updated it to reflect the current application, and fixed broken snippets. Fixed the highlighted examples in qdocconf, this should correct the examples manifest file. Change-Id: I0c6e1e31d148079ce1977277c702cee6d434021b Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 227c44e5afaa6427a01310874a70bcfe67edd103) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5.2' in qt/qtchartsQt Submodule Update Bot2023-06-171-3/+3
| | | | | Change-Id: Iebe23ac79c7b3f71cf714c1577248074b8863263 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Docs: Rework example documentation into charts widget gallery exampleNicholas Bennett2023-06-1645-725/+457
| | | | | | | | | | | | | | | Removed example commands, fixed snippets to point to new locations, added page commands that have the existing html address and added \ingroup commands to create a table that points to the new pages. Removed examples documentation with no code walk-through. Move example documentation source files to example folder. Fixes: QTBUG-114221 Change-Id: I7ab3b56457df4d33b52be6fd0022e7a92809d82c Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit 5852d85f2743c62f9d79c17043b9b48826f5ffc3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-06-141-3/+3
| | | | | Change-Id: I5aeafc98d0b17bd62617dab8c8a65ae349022276 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Rename gallery and qmlgallery examples as they are too genericMiikka Heikkinen2023-06-13163-25/+25
| | | | | | | | | | | | Gallery name conflicted with widgets example of same name. New names are chartsgallery and qmlchartsgallery. Fixes: QTBUG-114408 Change-Id: Iee9fdfa1f685685a4118fb9d401c1e53147546cb Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> (cherry picked from commit 2ae46ef08f6a10a0d44557bb592db06be667f2bb) Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Revamp examplesMiikka Heikkinen2023-06-13389-8252/+5647
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-06-131-3/+3
| | | | | Change-Id: Ic54e0e7117055c1d596494494352eba048201c7c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-06-091-3/+3
| | | | | Change-Id: I8d8f02e9beb0b5324b0e8d2c1a768d513387b751 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-06-071-3/+3
| | | | | Change-Id: I5a067ce3c489d6df3097bedf116943de801a4a59 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove conanfile.pyTor Arne Vestbø2023-06-071-57/+0
| | | | | | | | | | The conan experiment has ended, and the file is only bitrotting nowadays. Change-Id: I9a74328ba460387f1d4eef97d60982026aa6a280 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 3828bb5805bd8e08f001464d72a191baf004b902) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-06-061-3/+3
| | | | | Change-Id: Ic5f5fa631fad84b6f7b831108523ae4ca1be03d3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove the manual undef of the min/max macros, or def NOMINMAXAmir Masoud Abdol2023-06-061-9/+0
| | | | | | | | | | | We now add NOMINMAX to PlatformCommonInternal target which will be linked to everything else, so min/max will not be defined upon the inclusion of `windows.h`, or other headers. Change-Id: I5d08d8c60e8dc3cb007d67e415f06b0b9f7112b9 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit dffdbfee0ca6880bbc7e116342f0f29a67f5453a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add the use of the qt_internal_project_setup functionAlexey Edelev2023-05-311-0/+1
| | | | | | | | | | The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: I6919ce5e5c31e55533911fbf58cf000ace69ada8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit dcc21e18ace0be703697db4f57e45b6ba5d7d52e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-311-3/+3
| | | | | Change-Id: I699e30e424c84b717020b81fe8637c64ea4c671b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-291-3/+3
| | | | | Change-Id: I35b4a52caae9b96f3d7bffe4f8f31c829e0f9dce Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-251-3/+3
| | | | | Change-Id: I0aff3c93b45e6af9b86a1e5f28112aa8b4a57f05 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-241-3/+3
| | | | | Change-Id: I77908892545f981189ce47473fed5b8288277e4a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-231-3/+3
| | | | | Change-Id: I1a2ec58875ce4f32b7a151912df520a0cd5d4b55 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-221-3/+3
| | | | | Change-Id: I06796344208404d7f90b5725cd28afdd899d1127 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-191-3/+3
| | | | | Change-Id: I86da6535f5027d76962b86d478fb00929f7c2711 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-181-3/+3
| | | | | Change-Id: I4f882fe31181121b7c1140a9ea8fd54d915d0152 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-151-1/+1
| | | | | Change-Id: I800094fcd0557251ba9254f9d0e5d82638288e70 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-121-3/+3
| | | | | Change-Id: I8ed0416cec101243195caf9b879f8c8edfe22ce8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.5.2Jani Heikkinen2023-05-031-1/+1
| | | | | Change-Id: I57468d17a5154e1793b47c6f46ffd408c7a5d4cc Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-031-3/+3
| | | | | Change-Id: Ia99c27e771b98494de39759d01b5abb1f6b55681 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-05-011-3/+3
| | | | | Change-Id: Ibc08145dda8fe2a5cf079984bd43bec79e4e192a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-281-3/+3
| | | | | Change-Id: I8673e77afb36687e5eacc78d44bcc003cf4f5994 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-261-3/+3
| | | | | Change-Id: I69c292a58fb1852b7b14319659ae4b58430f09fe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Do not use global pointsConfigurationDirty flagIvan Solovev2023-04-212-4/+4
| | | | | | | | | | | | | | | | | | | | | The flag is toggled only when the pointsConfiguration() is changed. Later this flag is used to check if we need to resize the markers for the points. If the points are removed, and later re-added without changing the pointsConfiguration(), this flag was preventing a proper size update of the markers. Fix it by simply removing the global flag, as all the other places where pointsConfiguration() is used do not check it anyway. Task-number: QTBUG-112919 Change-Id: Ic56eb94c94dda319d23f6d6eadfd4df884618064 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Lukasz Kosinski <lukasz@scythe-studio.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> (cherry picked from commit 2de0293dfc38090d448f095d2a3bd58134d5b026) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* ScatterChartItem: do not use item's position when resizing markerIvan Solovev2023-04-211-6/+6
| | | | | | | | | | | | | | | The existing code was using current marker's coordinates when updating its size, but that actually resulted in double offset, because later we are explicitly calling setPos() on the marker. Fix it by always using (0, 0) as an offset when calculating the marker's rectangle. Fixes: QTBUG-112904 Change-Id: I427cbd502f1637a7da71a7f2b23ccb0228ac3f01 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit edfcf8b309434e81eb602e2ca3e0d6c935f2c2eb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Add documentation for audio exampleNicholas Bennett2023-04-202-5/+109
| | | | | | | | | | | | Renamed the example to describe what it did. Stepped through code with snippets. Added animation. Change-Id: I0a46e75a71d2ff2041898311e7629d542c476823 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Esa Törmänen <esa.tormanen@qt.io> (cherry picked from commit ad4ce1f125f6583d381ea72babe37c8f41ff50f0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-201-3/+3
| | | | | Change-Id: Iab4940f36ec483f375a45bf8c9d969dc3e340dfe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix sizeBy pointSize calculationTomi Korpipaa2023-04-201-1/+2
| | | | | | | | Fixes: QTBUG-112917 Change-Id: Ib2e4f9ae434c863626affcbdfb1ba5c820470eeb Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit d2275fa17016bf61eab5a85f01f70f5a718e218d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-191-3/+3
| | | | | Change-Id: I7f1d85fb74d2356aaadfb5384acb02f28218c602 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Remove the extra attributeAmir Masoud Abdol2023-04-191-2/+2
| | | | | | | | | | | | | | | | QBoxSet is already exported with `Q_CHARTS_EXPORT`, and exporting it again with `Q_CHARTS_PRIVATE_EXPORT` raises `type attributes ignored after type is already defined [-Werror=attributes]` error, and breaks the unity build on Windows/MinGW. In addition, a missing QT_CHARTS_PRIVATE_EXPORT was added to QBoxPlotModelMapperPrivate class. Task-number: QTBUG-109394 Change-Id: I58757432da987754a40ac1c172b70d4fd77c31bc Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit e04518c7dab924603d53cb1499eabbf98f5ce29a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix background drawing with fixed plot areaTomi Korpipää2023-04-191-2/+5
| | | | | | | | | | | If plotAreaBackground is visible, we need to update chart visuals, or plotAreaBackground will not be drawn. Fixes: QTBUG-109762 Change-Id: I7b648a1ea70b2f30b293246dc4240131e67db9a7 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit bf001ee655a6596f8b5eb7245326ec46e9fdd994) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-181-3/+3
| | | | | Change-Id: I6a151c21cea75cfaaaa9ebc1812bc72b07580dc1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-131-3/+3
| | | | | Change-Id: I41d6ba223ead6e34bbfe6911cac640a0e5147bca Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add [[maybe_unused]]Amir Masoud Abdol2023-04-131-1/+4
| | | | | | | | | | Otherwise, it could break the unity build. Task-number: QTBUG-109394 Change-Id: I0047e64d6b76e3ae6502be5e9cc050de8ec9c4bd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 59648b2eb6dc116c53a247e1e6237fbab4a2b1e6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix QtCharts Audio Example not scaling correctly on mobile devicesNicholas Bennett2023-04-132-2/+1
| | | | | | | | | | | | | | | The minimumSize was set, and this stopped it from scaling correctly on devices with a smaller screen size in landscape mode. Added a Widget::resize() call in main.cpp. This replicates the same behavior as before on desktop platforms and fixes the scaling issue for the small screen devices. Fixes: QTBUG-106404 Change-Id: Ifd0395fd85e77f274ae23d59de19278801e6983b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit f9da051f42f0f21679fae06b14cc10802b2745b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-121-3/+3
| | | | | Change-Id: I82bb7e82b3f8d861c562fea8e1d91ec268eb6a1e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-04-041-3/+3
| | | | | Change-Id: I178662bd993c0fef1d8852008f7d7bc86fff6a7f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.5.1Jani Heikkinen2023-04-041-1/+1
| | | | | Change-Id: Ib0ba6f985e374c5b99bbd0580610a3e38755d430 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-03-221-3/+3
| | | | | Change-Id: I5fcb2dd4a9ef32595ff5f67d40f26414b603c229 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtchartsQt Submodule Update Bot2023-03-201-3/+3
| | | | | Change-Id: I0f183f3addd465b1e2eb5f766d8b1c2f2d8ca169 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>