Animation types
AnimationType, ExitAnimationType: generated from the source of active-charts.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Types#
Vocabulary of entrance-animation types that a series can request via series[i]..
Not every type is valid for every series — see ANIMATION_. Requesting an invalid type falls back to the per-series-type default and is reported as a development diagnostic.
type AnimationType =
| 'auto'
| 'none'
| 'fade'
| 'draw-x'
| 'grow-up'
| 'grow-down'
| 'grow-left'
| 'grow-right'
| 'slide-in-x'
| 'slide-in-y'
| 'pop'
| 'scale-center'
| 'fan-out'
| 'count-up'
| 'sweep'
| 'wipe'
| 'morph-in'
| 'stagger-segments';Vocabulary of exit-animation types — used when a series is hidden via legend toggle. Kept intentionally small (5 types) — the same 'shrink' picks the right axis based on series orientation; 'slide- slides to the right (or down for horizontal bars).
'auto'resolves to'fade'(the safe default for all series types)'none'skips the exit animation (binary hide)
type ExitAnimationType =
'auto' | 'none' | 'fade' | 'shrink' | 'slide-out';