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
Transition
object with specified properties.Declaration
Parameters
duration
The duration of the transition, in milliseconds.
easing
The easing function used for the transition
ordering
Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.