Skip to content

Documentation / @ripl/charts / resolveAnimation

Function: resolveAnimation() ​

resolveAnimation(options, reference?): ResolvedAnimation

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

Resolves chart animation options for a given reference duration, scaling by the configured speed and collapsing to 0/disabled when animation is turned off.

Parameters ​

ParameterTypeDefault value
optionsChartAnimationOptionsundefined
referencenumberANIMATION_REFERENCE.update

Returns ​

ResolvedAnimation