Skip to content

Documentation / @ripl/charts / ANIMATION_REFERENCE

Variable: ANIMATION_REFERENCE

const ANIMATION_REFERENCE: object

Defined in: charts/src/core/animation.ts:27

Reference durations (in ms, at the default animation speed) for each transition kind.

Type Declaration

axis

readonly axis: 500 = 500

Reference duration, in milliseconds, for axis transitions.

enter

readonly enter: 1000 = 1000

Reference duration, in milliseconds, for elements entering the chart.

exit

readonly exit: 450 = 450

Reference duration, in milliseconds, for elements leaving the chart.

hover

readonly hover: 300 = 300

Reference duration, in milliseconds, for hover feedback.

update

readonly update: 1000 = 1000

Reference duration, in milliseconds, for elements transitioning to new values.