Commit Graph

1344 Commits

Author SHA1 Message Date
Qt Submodule Update Bot 8350480f6c Update dependencies on '6.9.3' in qt/qtgraphs
Change-Id: I207803dba3ee1c1b5219a5b7c083a88427454f77
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-25 03:36:33 +00:00
Qt Submodule Update Bot 6e2a1f350d Update dependencies on '6.9.3' in qt/qtgraphs
Change-Id: I77b0a9819abb29b97a6954662fa153ddd05e925d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-24 09:33:07 +00:00
Qt Submodule Update Bot d3757b8fa8 Update dependencies on '6.9.3' in qt/qtgraphs
Change-Id: I4dc7284cc003fb9cfb1f4d76c8b9db633467fa86
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-22 11:37:51 +00:00
Qt Submodule Update Bot 04a7f8d56e Update dependencies on '6.9.3' in qt/qtgraphs
Change-Id: I258de9fe34513aa393a68676f43cddcc0ad39ab7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-20 13:02:06 +00:00
Qt Submodule Update Bot 6050665131 Update dependencies on '6.9.3' in qt/qtgraphs
Change-Id: I32d83e5a07fa71e7c1659f364a6d49363a16ae15
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-18 17:34:18 +00:00
Qt Submodule Update Bot 040ad0191a Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I80d0d5c00b7f27b1aca371b3666a73d78c3c75e7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-17 22:44:17 +00:00
Qt Submodule Update Bot e159b368bb Update dependencies on '6.9' in qt/qtgraphs
Change-Id: Ifba003796f87f589290b906bd38ed5bbe38f1ee2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-16 19:18:36 +00:00
Sami Varanka 259b362ceb 3D: Remove unused mutex variables
These mutexes were leftovers from datavis3d.

Pick-to: 6.8
Change-Id: Ic576ef945068a9d546babc00c05566cb0e0cc490
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit a70f70c9d3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5627b3ae81)
2025-09-12 20:35:17 +00:00
Kwanghyo Park a9b1b878e8 Prevent improper fill for area series on the zero-axis
When an area series had consecutive points on the y=0 axis,
the renderer would draw a horizontal line segment which caused
visual glitches when filled.

This change avoids filling that problematic segment on the y=0
axis, which fixes the improper fill.

Pick-to: 6.8
Fixes: QTBUG-139112
Change-Id: I4461cbf80af9b059ccfcc714234fed5039d0cd43
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit 52c5d1d3ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c0829ec48a)
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
2025-09-12 15:24:42 +03:00
Sami Varanka a88cd69a20 2D: Warn when axis added to multiple graphs
Adding the same axis to multiple graphs is not supported. It will result
to crash since graphsview destructor tries to set axis' associated graph
to nullptr.

Fixes: QTBUG-138822
Pick-to: 6.8
Change-Id: If306e415f87f2366ae0d82f6fd5c9a9a5e356f85
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io>
(cherry picked from commit 818613a0ee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2cca8ce8c5)
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-09-10 15:35:09 +03:00
Sami Varanka abfb4ae91c 2D: Add QT_NAMESPACE to pierenderer.cpp
PieRenderer didn't have QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.

Pick-to: 6.8
Change-Id: I70514460f89cb189a7a5cc75839d4e3098afa612
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 43c7180d21)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a3d9820da0)
2025-09-05 12:55:24 +03:00
Volker Hilsheimer 2509bc77a4 Use isSharedWith to test if two QList instances hold the same data
Calling data() on mutable objects forces a detach, which voids the
optimization attempted by comparing data pointers of QList
specializations, such as QSurfaceDataArray or QBarDataArray. Test
with isSharedWith instead; the pointer returned by data() can only be
the same if the two lists are shared copies of each other.

Pick-to: 6.8
Change-Id: I3b4707c6e44ed9b7f08f76086ade4f08465b7653
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 0320e79022)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 66cfed3b2c)
2025-09-01 11:35:18 +00:00
Alexey Edelev 8d85655da9 Make 'qtquick3d' optional dependency for the module
QtQuick3D was listed as a required module in dependencies. However,
you should be able to build QtGraphs without 3D features. In that case,
it is not necessary to have Quick3D. Therefore, the Quick3D required
field should be false in the dependencies. In addition, the baseline
tests must be turned off if 3D features are unavailable, as they link
to Quick3D.

Pick-to: 6.8
Change-Id: I6c45fde93d75d54b4adf89471441d989452b0245
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 6300f5af2f)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit e486f98cbc)
2025-08-27 14:56:06 +03:00
Qt Submodule Update Bot f950c42b54 Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I38a10ea84a24d0a11d37610442663311ed088daf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-22 08:35:48 +00:00
Qt Submodule Update Bot 1f8b7b1cc5 Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I6953188fc59a4bb44b519171bd57911a5b7d844e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-20 19:00:11 +00:00
Sakaria Pouke 2410349daa Surface: recalculate bounds in updateModel, always set gradient uniforms
Fixes: QTBUG-138923
Fixes: QTBUG-138924
Pick-to: 6.8
Change-Id: I619fd5382e078b225356fd3d6822164ff7db1512
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit f7d363f5f5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8236a17098)
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
2025-08-19 10:21:17 +03:00
Kwanghyo Park c7c6c8b095 Decouple pie and hole size setters
Removes logic that caused setPieSize() and setHoleSize() to implicitly
modify each other. The setters now only affect their own respective
properties.

Pick-to: 6.8
Fixes: QTBUG-134003
Change-Id: I2d7b3e36d692248cd2de19dc6daa9d09a61c8158
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit e2def3779a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 39c5cdc6f8)
2025-08-18 16:30:19 +00:00
Jani Heikkinen 70dbe263c9 Bump version to 6.9.3
Change-Id: I9ea03b3ad6b24bb484d70d4ee38507353c6da266
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-14 20:18:24 +01:00
Qt Submodule Update Bot 02a593c79c Update dependencies on '6.9' in qt/qtgraphs
Change-Id: Ifd3c3ae037b678a43c9d5896720074b63ee70c4d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-14 19:18:23 +00:00
Sami Varanka 2c62958ff3 Fix: crash when closing Graphs2D
When series is created outside of graphsview and then added into
a graphsview, the app crashes while closing. This seems to be because
it ends up calling pure virtual type function from the QAbstractSeries
in the getSeriesRendererIndex. This patch adds type variable to
QAbstractSeriesPrivate. The variable is set by QAbstractSeriesPrivate
constructor. The getSeriesRendererIndex function checks the value of
that variable instead of calling the virtual type().

Pick-to: 6.8
Fixes: QTBUG-138506
Change-Id: I7aca4970c38cbf83413818b0a77e7cf5d76195b6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
(cherry picked from commit 630b38b3ee)
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 43ccf20e67)
2025-08-14 09:42:04 +03:00
Tomi Korpipaa c30900072f Fix extra asterisks in documentation
Task-number: QTBUG-138797
Pick-to: 6.8
Change-Id: If3d5ea7ecb530fd20d7d297156e9fa6d322f9e09
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit fee3df178a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b04c8deb94)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-08-14 06:57:54 +03:00
Tomi Korpipaa 5a35799974 Fix clazy-non-pod-global-static warning
Doing it this way should not break unity build, unlike
the previous attempt.

Change-Id: Ibe7f305ba9e41d1465bad7bbb7fb61860b225a98
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 4b815129c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 786c7b2c7f)
2025-08-05 13:35:24 +00:00
Tomi Korpipaa c8cb5e9c18 Revert "Fix clazy-non-pod-global-static warning"
This broke unity build, so it has to be reverted in this form.

This reverts commit 6ba5d8f00c.

Change-Id: I58719cd79c53af764e973b47e115e0f4f02af917
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit ee46f585d9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 35939f0732)
2025-08-05 13:35:18 +00:00
Qt Submodule Update Bot d30f25d43d Update dependencies on '6.9' in qt/qtgraphs
Change-Id: Ia4877205ca176f7f282632af814894d3e1fc97c7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-04 10:07:10 +00:00
Qt Submodule Update Bot 8b57ce79a1 Update dependencies on '6.9' in qt/qtgraphs
Change-Id: Iea158c20c86f3b36adf5f12475367004e2076874
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-01 10:38:55 +00:00
Qt Submodule Update Bot 65a47c3541 Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I57ceb87a899fd579aa53d7dc857af1a70daec801
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-30 18:44:56 +00:00
Tomi Korpipaa b0b0d5f7ed Fix clazy-non-pod-global-static warning
Change-Id: Iac3ba82a158acd495e76b841bce5bca3ba96c5d5
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 6ba5d8f00c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 82fbf9395d)
2025-07-29 04:22:39 +00:00
Dheerendra Purohit 5b359e305f Doc: Make QAbstractSeries::graph() as \internal to hide private type
The QAbstractseries::graph() function returned a private type
QGraphView which was mistakenly exposed in public documentation.
Added \internal to the doc comment to hide the function from public
API docs. Fixes the documentation leak of the private class.

Pick-to: 6.8
Task-number: QTBUG-138456
Change-Id: I4f2af5e43ada043788f841e570df1911351dcdbb
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
(cherry picked from commit 16b5a594e6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b00358a33d)
2025-07-24 13:18:00 +00:00
Qt Submodule Update Bot 6ef76ef35e Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I8eea51399200f58814addb5a1cf3a941e44a3f87
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-24 12:00:23 +00:00
Tomi Korpipaa 9ba58f3018 Get rid of some clazy warnings in common folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I0888f8eef9cba65ede290337699124675e7da086
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 3aee639133)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d077968be8)
2025-07-23 04:47:47 +00:00
Tomi Korpipaa df8f2cd0e8 Print out a warning if surface series has incorrectly ordered data
If data has been inserted with flipped order (filling Z axis
before X axis), detect it and print out a warning.

Pick-to: 6.8
Fixes: QTBUG-124738
Change-Id: I17bad88cdc8f0b8e336dc5fa18990cfd6afa46e0
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 0a647dded3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 191214ccc6)
2025-07-23 06:22:14 +03:00
Qt Submodule Update Bot 7db898ce4d Update dependencies on '6.9' in qt/qtgraphs
Change-Id: Ib39e706d26d4f296a1a4d0c10cc83c31f32f48ca
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-22 21:00:29 +00:00
Tomi Korpipaa c9dda868e4 Get rid of some clazy warnings in graphs2d/qsgrenderer folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I6cfcff806ce6f2f27b4e2037106f72065bafbfcd
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit 6b6f6581e2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6b879d4250)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-22 09:59:39 +03:00
Tomi Korpipaa 6f80b3bb27 Get rid of some clazy warnings in graphs2d/animation folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: If43b44b56d5e096bb787285dfc8d28ec344ea149
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit c955907133)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 94e1fbd640)
2025-07-22 06:09:46 +00:00
Tomi Korpipaa 7765d66148 Get rid of some clazy warnings in graphs2d/barchart folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: Icd1edd6ef07294b9929a7a68a6192c3a8a530f73
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit 1499c04fa7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a7636357b7)
2025-07-22 06:09:43 +00:00
Tomi Korpipaa 2032082a8b Get rid of some clazy warnings in graphs2d/piechart folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I3a61992a654fb09838ae005a67c0085eb8c1421c
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
(cherry picked from commit 59d8120076)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bde33c5619)
2025-07-22 06:09:40 +00:00
Tomi Korpipaa 53d76338a6 Stop polluting global namespace
Add missing QT_BEGIN_NAMESPACE and QT_END_NAMESPACE to:
- barinstancing_p.h
- scatterinstancing_p.h
- qquickgraphstexturedata_p.h

Remove duplicate QT_BEGIN_NAMESPACE and QT_END_NAMESPACE from:
- qxyseries.h

Pick-to: 6.8
Fixes: QTBUG-138462
Change-Id: I51bd1881bf37009b9d896892f14724f1bcd2bad3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 7f65202dc5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 27bcbc5339)
2025-07-17 13:52:08 +00:00
Alexei Cazacov 81bf1ab9ed Doc: Fix indentation in the "Graphs 2D in Qt Widgets" example
Fixes: QTBUG-138492
Change-Id: I801355551d68fdfe5b15c4712fb23f020d6052ca
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 39abb5786c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 68eeab7184)
2025-07-16 13:24:16 +00:00
Tomi Korpipaa 72425b068f Get rid of some clazy warnings in qquickgraphbars.cpp
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I026020b9d37fb08b8038e66690c5576e67e8f3cc
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit ee3f23af02)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3a0b0cfc4a)
2025-07-16 13:24:16 +00:00
Tomi Korpipaa a2dc1a065d Get rid of some clazy warnings in qquickgraphsitem.cpp
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I43541eaa76bd8150acf41ce7236ecfe3176ee873
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
(cherry picked from commit 8b99b8ae06)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8354c2f11e)
2025-07-16 07:11:12 +00:00
Tomi Korpipaa aa4c48bcce Get rid of some clazy warnings in qquickgraphscatter.cpp
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I2754094b7cdc89700a10ccde032a83512efe3f82
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
(cherry picked from commit 495124d537)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7ad277b1e3)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-16 10:11:06 +03:00
Tomi Korpipaa 361d9806c5 Get rid of some clazy warnings in qquickgraphsurface.cpp
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I2b264a140f8f3a8503e6f004d912a6c725627031
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit fcd5ccf73a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b2acb80917)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-16 10:10:32 +03:00
Tomi Korpipaa 974913f29a Fix endless sync loop in Bars3D
Floor was updated in each sync, triggering some dirty flags
being set. Update floor only if something affecting it changes.

Fixes: QTBUG-136174
Change-Id: I172a8b443fd6d65f9cac3390071329f95a731f47
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit f62322d262)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7a25a45ced)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-16 07:42:07 +03:00
Tomi Korpipaa f972b80517 Do not continuously update camera
Only call updateCamera if camera properties have changed.

Task-number: QTBUG-136174
Change-Id: I94f6c80e4c9e9e36a6399058bdd74866d2c0b202
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 7deeaa5196)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit aadd8fd9e7)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-16 07:42:02 +03:00
Tomi Korpipaa 857b4e519b Fix continuous updateLabels in bars
This does not fix the continous synchData completely, but removes
the unnecessary label updates.

Another patch is needed to take care of the endless sync loop.

Task-number: QTBUG-136174
Change-Id: I222deb86c25a4fafde73c550b0ae7151047a66e2
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
(cherry picked from commit f9fe3c37ee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 4c96f4b0c4)
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2025-07-16 07:41:56 +03:00
Sakaria Pouke ebbcc7a86e Add "Example" surface gallery import statements
Fixes SurfaceOscilloscope import error

related to commit 96578b3b00

Fixes: QTBUG-138470
Pick-to: 6.8
Change-Id: I9201afdd85e57ef4fdaef0d721d124a9a79edc68
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 9e9d419277)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c5e2d791ea)
2025-07-15 11:17:29 +00:00
Tomi Korpipaa 12491a0039 Get rid of some clazy warnings in graphs3d/widget folder
Fix "c++11 range-loop might detach Qt container" warnings.

Change-Id: I7dee50d82fa61fbc742233d36f9a9b53000e6e55
Reviewed-by: Niko Korkala <niko.korkala@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
(cherry picked from commit 10ce4ffe03)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bc2c38e8d3)
2025-07-15 11:17:29 +00:00
Marc Mutz cfe277399d Include what you use: qquaternion.h
qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.

Also add forward declarations, where needed.

Amends the start of this module's history.

Pick-to: 6.8
Change-Id: I605bf742be5bb92a676704f12d738d241bd9b0da
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 6a44c5fe57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e23fb8de70)
2025-07-14 23:56:37 +00:00
Sakaria Pouke 765af6f382 Consider reverse axis in custom item positioning
Fixes: QTBUG-133759
Pick-to: 6.8
Change-Id: I755e353cb527070f61fe18c14c19118675d1af8e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit 4f2f67f245)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f1a3a164b6)
2025-07-14 15:24:11 +00:00
Qt Submodule Update Bot a1961a8f5a Update dependencies on '6.9' in qt/qtgraphs
Change-Id: I8c02504e5fc45f5aa7bc502189e90a812f540166
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-14 12:17:18 +00:00