When the data is updated, the slice graph is not shown
properly and does not show correct graph.
Fixes: QTBUG-113540
Change-Id: Ie709c8c1d9e89b9761fe4898abb0085f55e4ebea
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Enhance the rendering performance by reducing
rendering calculation
Task-number: QTBUG-108129
Change-Id: I99f554104e7dcc53e16538cca0f72f5b385e5557
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
There could be cases that the graphs have different
size of series but selected.
Task-number: QTBUG-112729
Change-Id: Ib6c017fd27d82f4e5ab24d56ef54ce541a90f4dd
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
When changing the data of series, the slice view
handling is updated to fix crash
Task-number: QTBUG-112242
Change-Id: I49578d8fbc19d326928138e3ea6abc9e7f85ff24
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
When graph grid is on, picking other than graph still gets picked
It is due to picking of Line primitive geometry is not the same as
picking Triangles primitive.
Make the surface graph still there but not visible to be picked on
an exact point
Task-number: QTBUG-112442
Change-Id: Ibcce25041ededc64e5f0dbe048843aec71f2e485
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
The surface graph disappears in a certain sequence.
Clean up the logic to handle mouse pressed to avoid such issue
Task-number: QTBUG-112279
Change-Id: I07bf7772e473179785be047043227a6e7a399d4e
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
AspecRatio and horizontalAspectRatio is used to calculate
scale
Task-number: QTBUG-112359
Change-Id: I5fb1316c2955e11d44df53c833ab07f36dcd7cf4
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Support range gradient with custom material
Task-number: QTBUG-112285
Change-Id: I681fcdaba67a82f54c9807e5a040bce740be0343
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Add support for orthographic camera on main graph view
Task-number: QTBUG-112144
Change-Id: I80a3a9f9d3be2b7e7c627a51e2d7db9da39fa96e
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
The slice view is created when there is a first interaction
requires slice view so that the slice view can retrieve the
size of the main view.
Task-number: QTBUG-111672
Change-Id: I2ad83ca023deaf70990fed2080599da0bf12e5a6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>