Commit Graph

7 Commits

Author SHA1 Message Date
Kwanghyo Park e9e4d1e093 Fix picking issues when graph grid is on
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>
2023-03-31 12:54:12 +03:00
Kwanghyo Park 06b64491dc Fix surface disappearing issue
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>
2023-03-31 09:01:23 +03:00
Kwanghyo Park b80c6fe91c Apply aspectRatio calculation for scale
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>
2023-03-29 07:01:00 +03:00
Tomi Korpipaa 3e970657bd Initial support for range gradient for bars and surface
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>
2023-03-28 08:19:05 +03:00
Kwanghyo Park 8312f0ebbd Add orthographic camera support
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>
2023-03-24 09:54:42 +02:00
Kwanghyo Park af4ed8f338 Fix slice view on qmlsurfacegallery example
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>
2023-03-21 15:33:18 +02:00
Jukka Jokiniva 8d18b56183 Initial commit 2023-03-02 15:45:23 +02:00