-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0
-
None
-
-
fdcf12083 (dev), eb8297be1 (6.8)
Minimal reproducible example:
import QtQuick import QtGraphs Window { width: 640 height: 480 visible: true title: qsTr("Graphs 2D - Scatter Graph") GraphsView { anchors.fill: parent axisX: ValueAxis {} axisY: ValueAxis {} ScatterSeries { id: scatterSeries GraphTransition { GraphPointAnimation { duration: 1000; easingCurve.type: Easing.OutCubic } } XYPoint { x: 0.0; y: 9.0 } XYPoint { x: 1.0; y: 3.0 } XYPoint { x: 2.0; y: 7.0 } XYPoint { x: 3.0; y: 1.0 } XYPoint { x: 4.0; y: 8.5 } XYPoint { x: 5.0; y: 2.4 } XYPoint { x: 6.0; y: 6.0 } XYPoint { x: 7.0; y: 1.6 } XYPoint { x: 8.0; y: 9.5 } XYPoint { x: 9.0; y: 3.9 } XYPoint { x: 10.0; y: 9.9 } } } Timer { property int index: 0 interval: 1000 running: true repeat: true onTriggered: { if (index >= scatterSeries.count || index < 0) { index = 0 } scatterSeries.replace(index, index, Math.random() * 10) // Replace data with random for animation demonstration index++ } } }
For Gerrit Dashboard: QTBUG-131120 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
607326,2 | GraphPointAnimation doesn't work with ScatterSeries | dev | qt/qtgraphs | Status: MERGED | +2 | 0 |
607576,2 | GraphPointAnimation doesn't work with ScatterSeries | 6.8 | qt/qtgraphs | Status: MERGED | +2 | 0 |