summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix a small leak in CommonUtils::maxTextureSizeOwais Akhtar6 days1-1/+5
| | | | | | | | | | Tiniest of leaks in maxTextureSize where a surface is created to query texture size but not deleted. It affects only OpenGL. Fixes: QTBUG-142686 Change-Id: I416c40e16b266022881323d4aface635fd425f4f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Fix a crash in surface graph when rendering a column slice imageTomi Korpipaa7 days1-4/+1
| | | | | | | | | | | | | Fixing QTBUG-142047 uncovered a situation where we try to set properties for a material that hasn't been created yet. Solve the problem by setting the said property after the material has been created by using a boolean that already existed for indicating if a column slice is requested. Pick-to: 6.10 6.11 Fixes: QTBUG-142418 Change-Id: I7921d41d8444ab19f13a08105e5feae1797b7201 Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Change the remaining qWarnings to qCWarningsSami Varanka8 days12-13/+40
| | | | | | | | | | Change the remaining qWarnings to qCWarnings in the src folder. Pick-to: 6.10 6.11 Fixes: QTBUG-142438 Task-number: QTBUG-142437 Change-Id: Ie8c01af44bda666ba3149cd5dbd448cdbe34b2ad Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add documentation for visualmin/max propertiesNiko Korkala12 days2-0/+76
| | | | | | Change-Id: Ib8952904780f3847ab70cf500da9e2bc48bbeb16 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add update call when slice view visibility changesSakaria Pouke12 days1-0/+1
| | | | | | | | Fixes: QTBUG-142454 Pick-to: 6.10 Change-Id: I3108e1e831ce906c2f8932a3171be49ff9dcfa67 Reviewed-by: Niko Korkala <niko.korkala@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add isRotationAbsolute to Custom3DItemSakaria Pouke12 days4-1/+101
| | | | | | | | Added additional scenario to rotations manual test Fixes: QTBUG-134007 Change-Id: I19fe28e60f609e0a553d507bc72ac3d6926b477a Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix rendering slice to an image if selectionMode does not matchTomi Korpipaa12 days3-16/+16
| | | | | | | | | | | | There were checks for selectionMode in offscreen slice creation functions, which either were not needed at all, or did not check all of the required conditions. Pick-to: 6.10 Fixes: QTBUG-142047 Change-Id: Idbc5cd4dc0880bca6ba958e5cffa582a90aef035 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Remove unused GridLine.qml fileTomi Korpipaa13 days4-44/+0
| | | | | | | | | Pick-to: 6.8 6.10 Fixes: QTBUG-141927 Change-Id: Id292857079da2d3643eb336dcd9753e6be2af1d7 Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io>
* Add readonly visual min and max properties to QValueAxis and QDateTimeAxisNiko Korkala14 days6-2/+92
| | | | | | | Task-number: QTBUG-142046 Change-Id: I25ab89809d28f3efa27bc83a7a455d3ab2a82a90 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add multiaxis support for 3D graphsSakaria Pouke2025-11-2618-215/+2071
| | | | | | Fixes: QTBUG-126656 Change-Id: I6be34928e2fa2926f9c26c15853231adf1200138 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Header review fixes for qcustomseries and dataJere Tuliniemi2025-11-263-10/+17
| | | | | | Change-Id: I288ff95841f86a31d9896478a38fee685ad161b4 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Enable panning and zoomArea zooming in QDateTimeAxisNiko Korkala2025-11-264-52/+121
| | | | | | | Task-number: QTBUG-138380 Change-Id: If19694f84d2018e9c280562a912414e5eedfe195 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* enable zoom in QDateTimeAxisNiko Korkala2025-11-265-44/+121
| | | | | | | Task-number: QTBUG-138380 Change-Id: I18378d023ea7b7c0bdd8dc5df4476764cad55dc1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Add slice drag adjustSami Varanka2025-11-203-0/+128
| | | | | | | | | Slice value can now be djusted by dragging their edge. Add a new manual test for piegraph. Fixes: QTBUG-140530 Change-Id: I4d27021ab142bd042711678e2b4317513d451195 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Header review preparations in qsurface3dseries.hTomi Korpipaa2025-11-202-10/+10
| | | | | | | Change-Id: I09f67dad074831355cf86900055cfe71e8b390c6 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Header review preparations in qpieslice.hSami Varanka2025-11-201-18/+17
| | | | | Change-Id: I0bd082f3b81844ade73dbd149795eb0a33e8b7af Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Enable Accurate OIT transparency techniqueTomi Korpipaa2025-11-194-14/+4
| | | | | | | | | Note: Requires commit "574826: Implement linked list oit method" and its dependencies to be merged before staging. Change-Id: Icf1b9e8d6f38498612edf1b4e884d261bf141ca3 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Header review preparations in qbar3dseries.hTomi Korpipaa2025-11-192-4/+4
| | | | | Change-Id: I5ba32380793d6c886665418a205aa7c60bedc2fc Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Header review preparations in qabstractseries.hTomi Korpipaa2025-11-191-1/+9
| | | | | Change-Id: Id8685752345d6567d4f970a7574455ca055ab4bf Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Header review preparations in qsplineseries.hTomi Korpipaa2025-11-192-2/+2
| | | | | Change-Id: I281c50194091361b8458128d8357fac1006fb972 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Header review preparations in qlineseries.hTomi Korpipaa2025-11-191-7/+8
| | | | | Change-Id: I4120c43b8ceee9f57c8d868e70ddcc72c87d32da Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Header review preparations in qdatetimeaxis.hTomi Korpipaa2025-11-191-2/+2
| | | | | Change-Id: Ic204810b110943649167acd85f87fde49c8d8696 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Header review preparations in qbarcategoryaxis.hTomi Korpipaa2025-11-193-7/+7
| | | | | Change-Id: I237e8ddace38c93d69cbff180a894cb7ad08735c Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Header review preparations in qareaseries.hTomi Korpipaa2025-11-191-3/+4
| | | | | Change-Id: I74c5641e4db34395d37c80466d07a7522ee017f0 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
* Add cutoff margin parameter to 3D graphsSakaria Pouke2025-11-176-9/+92
| | | | | | | Task-number: QTBUG-135896 Change-Id: I6b6262cdbd21fe683a62686e48215066cbbbc6c4 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Add missing property docsPaul Wicking2025-11-067-25/+119
| | | | | | Task-number: QTBUG-140629 Change-Id: I7f0532d78cbcece6eaa4787340deae1fe6741b86 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Optimize default spline fitting and add support for Catmull-RomOwais Akhtar2025-11-053-33/+119
| | | | | | | | | Reduce some loops and extra memory in default curve fitting alorithm and add support for C1 splines (Catmull-Rom) Fixes: QTBUG-136788 Change-Id: Ia085f1866d4ac21d37fe1106e2badf6bb04eea97 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Add basic documentation for custom series typesTopi Reinio2025-11-041-3/+25
| | | | | | | | | | | | | | | QCustomSeries (C++) and CustomSeries (QML) are new types in 6.11. The sources contained member documentation but no \class or \qmltype topic. Add them to resolve QDoc warnings such as (qdoc) warning: No output generated for function 'QCustomSeries::mapX()' because 'QCustomSeries' is undocumented Type descriptions and some member documentation are still missing, hence added //! TODO comments. Change-Id: I90649ebb29b8f841287c35ee6b949b208156ad52 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Mark QGraphsView as \internalTopi Reinio2025-11-041-0/+6
| | | | | | | | | | | | | | | QGraphsView has documented members but no \class topic. Add one and mark it \internal as this is a private API. Resolves QDoc warnings such as (qdoc) warning: No output generated for function 'QGraphsView::addSeries()' because 'QGraphsView' is undocumented Change-Id: Ia86e9a71a9f6ae46eb41a22368b4f7559b241f5e Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Doc: Document QGraphsLineTopi Reinio2025-11-041-0/+32
| | | | | | | | | | | | QGraphsLine has documented members and is referred to in the documentation, but the \class topic was missing. Document the \class and its properties, and mark QGraphsLine as the native type for 'graphsline' QML value type. Change-Id: I9712205526a92bda17f7496222ee8746065f2221 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Doc: Fix documentation issuesTopi Reinio2025-11-045-14/+14
| | | | | | | | | | | | | * Add dependency to qtprintsupport to fix broken link to 'QPrinter'. * Fix instances of 'LegendData' to the correct value type name 'legendData'. * Replace C++ type names in \qmlproperty, \qmlsignal topics with their QML counterparts. Change-Id: I0fb971759bd65e044bcdd5ae33ab7e795b05ccc7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix: scatter3D crash with instancingSami Varanka2025-11-041-1/+1
| | | | | | | | | | | If dataitems are disappearing and appearing the scatterinstancing data array might not be in sync and can cause index out-of-range while unhiding previously hidden item. Pick-to: 6.10 6.8 Fixes: QTBUG-141687 Change-Id: Ib3c7275ecb9282deff93070af4f3f8a6c1fdada1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix: Custom3Ditem removing and addingSami Varanka2025-11-031-4/+14
| | | | | | | | Task-number: QTBUG-134641 Pick-to: 6.10 6.8 Change-Id: I9a9b79e9130d7727b5ddeefc1302f3e74cc18594 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Fix axis title placementJere Tuliniemi2025-10-305-68/+207
| | | | | | | | | | | | Axis title placements were calculated wrongly, especially for multi axis. Also reserve space for titles between each axis to prevent overlaps. The space reserving causes the actual graph to change size when an axis title is enabled and multi axis is used. Fixes: QTBUG-140202 Change-Id: I7e21d81b9a532085dcabc710e15d9a12ab723747 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Add custom renderer trace sourceJere Tuliniemi2025-10-291-0/+7
| | | | | | Task-number: QTBUG-141560 Change-Id: I4f8aec9fb48b77c324e309676c50934e967bb439 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
* Fix: Graphs3D series item label visibilitySami Varanka2025-10-288-4/+55
| | | | | | | | | | | | | Bars3D and Scatter3D didn't hide the item label according to series' itemLabelVisible. This was also in the Surface3D but it was fixed already. However, the fix was not complete since it did not work if the selection was active. Fixes: QTBUG-141370 Pick-to: 6.8 6.10 Change-Id: I65acfc33e0d41cd4322efe521b7d7ba509ca159a Reviewed-by: Niko Korkala <niko.korkala@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* fix test errors in nightly windows buildsNiko Korkala2025-10-232-9/+9
| | | | | | | Task-number: QTBUG-140174 Change-Id: I881a094b667d87f55edd9e6e718e600bdfa1c4ff Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* 3DScatter: Don't do unnecessary scalearray resizeSami Varanka2025-10-211-2/+4
| | | | | | | | | | | | When the modelhandler resolves the model, it always resizes scalearray. This patch adds a check whether the itemmodel has scale roleindex. If the model has no scale, it skips the resizing of scalearray. Pick-to: 6.10 Fixes: QTBUG-141186 Change-Id: I2718987f15c751cd187f1a398a92e10c71c9fbc6 Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
* Fix crash when hovering and slices changeKaj Grönholm2025-10-131-0/+5
| | | | | | | | | Make sure that m_currentHoverSlice doesn't point to a removed slice. Pick-to: 6.10 6.8 Task-number: QTBUG-140843 Change-Id: I32042b3f4b819da0840a54566520c1313b76f427 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add row sanitization for surface graphsSakaria Pouke2025-10-135-5/+81
| | | | | | | | Add an option to remove rows with NaN data from the series data. Task-number: QTBUG-140240 Change-Id: I5c2338335176bb0a439bee1b3d28c186bd6fc555 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Disable axis drag handler if not neededJere Tuliniemi2025-10-102-8/+32
| | | | | | | | Pick-to: 6.9 6.10 Fixes: QTBUG-135931 Change-Id: Idbc3b9d04fbde1985f0209964d9d1c0a60bb2f2f Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix support for setReversed in surface graphsTomi Korpipaa2025-10-101-3/+11
| | | | | | | | | | | Handling for axis reversal was missing completely in surface. Pick-to: 6.8 6.10 Fixes: QTBUG-140904 Change-Id: Ib5bcbfbdb38577070bd19d8a6cbada1a2763fefc Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Sakaria Pouke <sakaria.pouke@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Check if textureFile has transparencyTomi Korpipaa2025-10-095-21/+50
| | | | | | | | | | | | Textured surfaces ignored alpha channel in the images used as textures. Added a check which forces transparency if the textureFile source or texture property has other than 1.0 in alpha. Pick-to: 6.8 6.10 Fixes: QTBUG-140660 Change-Id: Ibe95b4a4fb6b674b615d15c1b7e37e2cd6edee77 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Support selectionQueryPosition and graphPositionQuerySakaria Pouke2025-10-072-3/+13
| | | | | | | | | | selectionQuery is essentially a legacy way to do picking while graphPositionQuery returns a picked position of the graph. Task-number: QTBUG-138828 Pick-to: 6.10 6.8 Change-Id: Ieb90086e0416558bb31633a2b28db37443dd6362 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Handle NaN values in 3d seriesSakaria Pouke2025-10-025-2/+27
| | | | | | | | Fixes: QTBUG-140240 Pick-to: 6.10 6.8 Change-Id: Ib476a877dea4815b91626f83c107c91c0354731d Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Add missing QLineSeries documentationXavier BESSON2025-10-011-2/+32
| | | | | Change-Id: I42d873c005572b908b6180ba5f908139f05f69b5 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Support dashed lines in LineSeriesXavier BESSON2025-10-014-0/+148
| | | | | | | Fixes: QTBUG-134500 Change-Id: I045227ab8c44b090519f7d49512c17cfc48ae15d Reviewed-by: Alexei Cazacov <alexei.cazacov@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add labelPosition property for BarCategoryAxisKwanghyo Park2025-10-014-0/+53
| | | | | | | | | Introduces a new labelPosition property to QBarCategoryAxis, providing control over the placement of category labels. Task-number: QTBUG-139448 Change-Id: I86921765e28af8f6b2953c71cb684ee248422675 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add custom seriesJere Tuliniemi2025-09-3015-10/+816
| | | | | | | | | | | | Add a way for the user to create custom graph types. This implements CustomSeries and CustomRenderer. The CustomSeries is a collection of data points that the user can define and has a QML component delegate that is used by CustomRenderer to create QML items that inherit properties from the custom data. Change-Id: I5925fc6404d82a328c106cab784bd2176e4167b9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sami Varanka <sami.varanka@qt.io>
* Add custom colors for QAbstractAxis ticks/line and sub ticksXavier BESSON2025-09-254-7/+115
| | | | | | Fixes: QTBUG-138755 Change-Id: I24baf79e2adfc12dc4064b4089632409b924eb23 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>