summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtgraphsHEADdevQt Submodule Update Bot4 hours1-3/+3
| | | | | Change-Id: Ife23ac42f4ea85553827f9c8cf3eb4c63168af11 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix surface graph smooth normals generationSakaria Pouke16 hours2-21/+16
| | | | | | | | | Result is not perfect but is better Also renamed variables for clarity Fixes: QTBUG-125578 Change-Id: I2b79e35e65a091be5f08519a17c673de59e76cd7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix font size issueSakaria Pouke16 hours2-4/+1
| | | | | | | | | Fixes: QTBUG-125194 Pick-to: 6.7 Change-Id: Ic2f3786de6ca0edee46ab2452599e33ea98f732c Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Comment out crashing autotestTomi Korpipaa17 hours1-2/+3
| | | | | | | Ticket created: QTBUG-125907 Change-Id: I441d7a9395bd779ffe52330160ae474f265cfa64 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Change SelectionFlag enum to enum classDilek Akcay17 hours41-330/+324
| | | | | | | Task-number: QTBUG-125365 Change-Id: Id890ab19b0126f503824778c06a506dfb706c7b4 Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Remove the use of GENERATE_CPP_EXPORTS argumentAlexey Edelev18 hours1-3/+0
| | | | | | | | The behavior that argument was enabling is the default one now. Task-number: QTBUG-90492 Change-Id: If78c22d9eb42a07991e9dc2ae7d32e93c93ea28f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Revert "qquickgraphsitem: Avoid indirection for Component creation"Fabian Kosmale23 hours1-2/+1
| | | | | | | | | | This reverts commit 63a3f67643e2d8cba8454e9645a8b35238cbb3ec. Reason for revert: Caused QTBUG-125882 Fixes: QTBUG-125882 Change-Id: I1f4481143d37bbcf828fcef35247272bf7c18877 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* API: Unify QML component APIKaj Grönholm37 hours33-124/+124
| | | | | | | | Use delegate in the names of the QML component properties. Task-number: QTBUG-125881 Change-Id: Iae80dec6b522196f59b2f9888bf7bfbe1df0a86f Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix warnings of AbstractGraph naming in docsDilek Akcay37 hours1-5/+5
| | | | | Change-Id: I9cb5dd90b4e963b5dee62c48fa6587d8983cdf78 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot39 hours1-1/+1
| | | | | Change-Id: I8eda035ea8aca36d410645588c49f2902951d683 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix theme-related doc warningsTomi Korpipaa40 hours3-4/+4
| | | | | Change-Id: Iba9bef70ed77a8fa7ac21ff8d2cfe81dddc3794e Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Docs: Add \qmlsignal descriptions for Qt Graphs 2DAlexei Cazacov43 hours12-143/+190
| | | | | | | | | | Unify docs for QML properties \qmlsignal use. Signals should be documented. Removed similar signals for C++ classes. Task-number: QTBUG-123522 Change-Id: I179ee6526115f3e224ea8336c59aa38a1c0e44f2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* BarChangingSetCount example doesn't work with custom bar componentsOwais Akhtar44 hours1-2/+15
| | | | | | | | Custom components on bar series are not removed dynamically. Task-number: QTBUG-125710 Change-Id: Icebe336fc145029d29136abd8aa4fa9cc04730c0 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix bar selectionKaj Grönholm44 hours1-0/+1
| | | | | | Change-Id: Icf251d764166b146726824d63a41d97432bccbd9 Reviewed-by: <owais.akhtar@qt.io> Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix dragging event on widget graph gallery exampleKwanghyo Park45 hours1-3/+8
| | | | | | Fixes: QTBUG-125855 Change-Id: Ia6df6f72566a2ad297d5036c8b9ea67cb3bbc7a5 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* API: Support border in default point markerKaj Grönholm46 hours3-0/+32
| | | | | | | | | | Add border color and width support into default pointMarker. These values are taken from the GraphsTheme. Task-number: QTBUG-125463 Change-Id: I68e5561c22907373f2d52b8a0a6772d015676b77 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* API: Document QGraphsView orientation propertyKaj Grönholm46 hours1-0/+18
| | | | | | | Task-number: QTBUG-125254 Change-Id: I0bd6529dccd0ebdec149be8f0a1beddaf518bb48 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Fix adding/removing/visibility of bar seriesKaj Grönholm46 hours10-81/+441
| | | | | | | | | | | | | | | | - Fix removal of series with afterPolish() and afterUpdate() which can be used to cleanup any resources the series has used in the renderer. This also required moving these resources per-series. - Move AxisRenderer creation place. It should be created even with zero series, as in some cases series start empty but user still wants graph visible with axis & grid. - Add removeSeries(index) into QGraphsView for feature parity. - Document the GraphsView series methods. - Add new example for testing adding/removing/visibility of series. Task-number: QTBUG-125428 Change-Id: Ic2e9c99949eb8937f11b6b0b5901aa5056c0cab4 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix incorrect bar type when plot area is not visibleTomi Korpipaa47 hours1-1/+1
| | | | | | | Fixes: QTBUG-125774 Change-Id: I2d52a03b8ab965d7e6c0d4c5215ed0d19212aab4 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
* Update .gitignore to ignore example build foldersTomi Korpipaa47 hours1-1/+2
| | | | | Change-Id: I03404cd432baa15489ec2bf6f1f654c3b0139b07 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot2 days1-3/+3
| | | | | Change-Id: I6a03223f25fc383b51343e7f97badcb2963f1fdc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* API: Fix property getter namingKaj Grönholm2 days19-65/+65
| | | | | | | | | | Use is* with boolean getters, except with plurals there should not be is* or are*. Task-number: QTBUG-125376 Change-Id: Ibe1f252627c6da3fbb10b404f6d1acc157479b57 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Support theme borderWidth in AreaSeriesKaj Grönholm2 days5-4/+53
| | | | | | | | | Default to -1, so borderWidth comes from the theme by default, similarly to colors. Also improve the API documentation. Task-number: QTBUG-125462 Change-Id: I801294f44ad56186500e111a76069589bafc0c63 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Move widgets to another moduleSami Varanka2 days125-768/+887
| | | | | | Fixes: QTBUG-125719 Change-Id: Ieeab2e64d0d2a3a8d3969df5384b7ddd0fd180b7 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix color scheme init when no default schemeJere Tuliniemi3 days1-1/+5
| | | | | | | | Set color scheme to light if there is no default platform scheme. Task-number: QTBUG-125779 Change-Id: I44bb3a2ac1855d5bf0dc460d544d783e2e526e7d Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* qquickgraphsitem: Avoid indirection for Component creationFabian Kosmale3 days1-1/+2
| | | | | | | | | | | | setData forces a run-time compilation of the QML code (to IR cdoe), and has consequently a higher overhead. Instead, simply use loadFromModule. As a drive-by, add an assert that the component is actually ready. Change-Id: I0d2adfa1e41d8eb14fc21b25dd517f4ed2d80ef6 Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Fix crash in qmlperfDilek Akcay3 days1-11/+17
| | | | | | Fixes: QTBUG-125714 Change-Id: I55186253132ec1796526e5a4f741c2fa1b752cc2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix some manual test compilation warningsDilek Akcay3 days2-14/+8
| | | | | Change-Id: I0c79e6e2ada0c8e8d7d4c6c777c06fb4c9a4ade9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix inconsistency naming of AbstractGraphDilek Akcay3 days20-98/+98
| | | | | | | | Task-number: QTBUG-125426 Change-Id: I0bd59eb6bb7f3db27ccf2117c2ddc84215ca79b2 Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Fix inconsistency naming of ValueAxisDilek Akcay3 days19-64/+64
| | | | | | | | Task-number: QTBUG-125426 Change-Id: I791592dd19233ecffa3e65f9dea7ad5bf14a0d7a Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
* Fix missing enum change for perf testSakaria Pouke4 days1-4/+4
| | | | | | Change-Id: Ib038bf13f654d13091aa4f688c22b6e003a74d12 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
* Fix 2D example issuesKwanghyo Park4 days2-6/+6
| | | | | Change-Id: Ic8599620c75a1d0901b30b2ab33108d46b3f249d Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot6 days1-3/+3
| | | | | Change-Id: Ia3b853e1b88d6696679baafaa05d75f8bc2edf1e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix inconsistency naming of AbstractAxisDilek Akcay7 days11-43/+41
| | | | | | | | Task-number: QTBUG-125426 Change-Id: I5c2ccf242312b51fed7cbe5f02eb84ece4e97b4b Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Fix inconsistency naming of CategoryAxisDilek Akcay7 days7-20/+20
| | | | | | | | Task-number: QTBUG-125426 Change-Id: I51941ccc4cf3644c585a75d41b36f96dab8e5602 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot7 days1-3/+3
| | | | | Change-Id: I26e49880b6c8c1a3f15ad3d8cb4699205e813db1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix out of range in AreaRendererKaj Grönholm7 days1-0/+1
| | | | | | | | | | | Avoid reaching index out of range when borderColors amount is smaller than seriesColors. Task-number: QTBUG-125464 Change-Id: I560fbfb9c61da3dfe9a2aaa4bd6984add9cdf215 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: <owais.akhtar@qt.io> Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* API: Improve theme functionalityKaj Grönholm7 days7-93/+371
| | | | | | | | | | | | | | | | | - Change gridMainWidth and gridSubWidth default values. Make them be pixel amounts and match with axisMainWidth and axisSubWidth. - Document some default values. - Reset customized properties when colorScheme is changed after component is ready. - Change float to qreal in properties. - Set axis colors to match with grid colors in colorScheme change. - Fix updates and document properties in QGraphsView. Task-number: QTBUG-125254 Change-Id: I8d56e8e8828bcbee99ea11acb3fd8cdb5afe69f1 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: <owais.akhtar@qt.io>
* Move enums away from QAbstract3DGraphSami Varanka8 days64-995/+1145
| | | | | | Fixes: QTBUG-125409 Change-Id: Ide84873da6fe4f59399c8c5f25416db5ae547620 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Use screen space diffrentials for opengl surface graph normalsSakaria Pouke9 days2-5/+3
| | | | | | | Fixes: QTBUG-125505 Change-Id: Ia184b661ec0a61ba2be9c0e0e1ee86356530f964 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
* Fix live data issue in qmlperfDilek Akcay9 days1-0/+8
| | | | | | | Fixes: QTBUG-125392 Change-Id: I36ccd4eeeae38e9cc5b98d6ef3b22aa1cffea541 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
* Improve dynamic barseriesKaj Grönholm10 days2-5/+9
| | | | | Change-Id: Id5b1ba3f1a5d1fec8ae5284656e1c6670d68cc2e Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Improve bars QML API documentationKaj Grönholm10 days2-24/+24
| | | | | | | | | In QML docs, qsizetype shall be documented as int. Task-number: QTBUG-125254 Change-Id: I9f38d73eaaa1c3b563cadee7a9b9d85c3ff7c383 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Add XYSeries QML modification API documentationKaj Grönholm10 days1-148/+239
| | | | | | | | | | Also fixes to few other methods. Task-number: QTBUG-125254 Change-Id: I449cdc6079b93b921d009fbabc9ef387a01d7ace Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: <owais.akhtar@qt.io> Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* API: Update series themingKaj Grönholm10 days36-251/+224
| | | | | | | | | | | | - Remove GraphsTheme from QAbstractSeries. - Add seriesColors and borderColors properties into QBarSeries. Other series behave differently so these aren't useful for them. - Small fixes to theme update and documentation. - Take the changes into use in everywhere. Task-number: QTBUG-124889 Change-Id: I8f91bd6aa52356376fd2febcbe9ba88282ece006 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot10 days1-3/+3
| | | | | Change-Id: I27065df66b4c784a2cfd93582cb49aed5c4405d8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix compile errors for ios buildKwanghyo Park11 days79-893/+893
| | | | | | | | There are some type conversion issues on ios build to be fixed by this patch Change-Id: Idce02b43f1689900ff773af2bff8779ee7410591 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Mark Q_PROPERTY in public API as FINALOwais Akhtar14 days16-147/+188
| | | | | | Task-number: QTBUG-125357 Change-Id: I0e47055e37bf2c4a4f47a5909783bad44f628712 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* API: Improve BarCategoryAxis QML APIKaj Grönholm14 days3-16/+103
| | | | | | | | | | | | | | - Make all modification methods Q_INVOKABLE. - Add missing remove(index). - Check range in at() as user shouldn't be able to cause QList ASSERT from QML. - Add API documentation and autotests. Task-number: QTBUG-125254 Change-Id: I0780e4c1349513ade98f64a178e959ecb4ef7fde Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: <owais.akhtar@qt.io>
* Update dependencies on 'dev' in qt/qtgraphsQt Submodule Update Bot2024-05-171-3/+3
| | | | | Change-Id: Idde52bc25dafd9c253da8daa3822832aa949df13 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>