Interface: AnimationOptions
Extends
Properties
duration?
optionalduration?:number
Entrance animation duration, ms (600 by default).
enabled?
optionalenabled?:boolean
Inherited from
key?
optionalkey?:string| ((datum,index) =>unknown)
What makes a row the same row across an update: the name of a field, or a function over the row. Without it rows are matched by position, so a change in their number is drawn at once instead of flowing — with it, the rows that stayed flow to their new values while the ones that came and went grow and sink at the ends.
updateDuration?
optionalupdateDuration?:number
Update transition duration, ms; falls back to duration, and to 450 without it.
updateEnabled?
optionalupdateEnabled?:boolean
The update transition on its own, and it wins wherever it was set: a chart asked to appear at once (enabled: false) and to move afterwards says so with updateEnabled: true. Without it the update follows enabled.