Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.1
-
None
Description
PieSlice cannot have Animations inside.
PieSlice {
NumberAnimation {} // not allowed
}
This is inconvenient to users.
To animate properties of PieSlice, one has to put Animation outside of PieSlice.
PieSeries { NumberAnimation { // has to be here target: slice1 property: "explodeDistanceFactor" from: 0; to: 0.2 duration: 500 running: true loops: -1 } PieSlice { id: slice1 value: 1 exploded: true // ideally, a user wants to write Animations for slice1 here } PieSlice { id: slice2 value: 2 } }