Transition
public struct Transition : Encodable
Sets transition options used during Plotly.react updates.
-
The duration of the transition, in milliseconds.
If equal to zero, updates are synchronous.
Declaration
Swift
public var duration: Double? -
The easing function used for the transition
Declaration
Swift
public var easing: Easing? -
Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.
See moreDeclaration
Swift
public enum Ordering : String, Encodable -
Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.
Declaration
Swift
public var ordering: Ordering? -
Creates
Transitionobject with specified properties.Declaration
Parameters
durationThe duration of the transition, in milliseconds.
easingThe easing function used for the transition
orderingDetermines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.
View on GitHub
Install in Dash
Transition Structure Reference