Skip to content

Interface: TransitionOptions ​

How long a change animates, with which easing (layout.transition, animate options).

Properties ​

PropertyModifierTypeDescription
duration?readonlynumberMilliseconds. Default 500.
easing?readonly| "linear" | "quad" | "cubic" | "sin" | "exp" | "circle" | "elastic" | "back" | "bounce" | "linear-in" | "quad-in" | "cubic-in" | "sin-in" | "exp-in" | "circle-in" | "elastic-in" | "back-in" | "bounce-in" | "linear-out" | "quad-out" | "cubic-out" | "sin-out" | "exp-out" | "circle-out" | "elastic-out" | "back-out" | "bounce-out" | "linear-in-out" | "quad-in-out" | "cubic-in-out" | "sin-in-out" | "exp-in-out" | "circle-in-out" | "elastic-in-out" | "back-in-out" | "bounce-in-out" | string & objectDefault 'cubic-in-out'.
ordering?readonly"layout first" | "traces first"When a change moves axis ranges and traces at once, which of them animates (Plotly): the other snaps when the transition ends. Default 'layout first': the axes animate.

Released under the MIT License.