Skip to content

Vizzu / Modules / types/anim

Module: types/anim

Interfaces

Type Aliases

AnimTarget

Ƭ AnimTarget: Keyframes | CAnimation

Types, that can represent an animation.


Duration

Ƭ Duration: `${number}s` | `${number}ms` | number

Duration can be set in seconds or milliseconds. In case no unit is set, it defaults to seconds.


Keyframes

Ƭ Keyframes: Keyframe[]

Sequence of keyframe descriptors


Position

Ƭ Position: `${number}%` | Duration

Seek position in the animation.


RegroupStrategy

Ƭ RegroupStrategy: "fade" | "drilldown" | "aggregate"

Type of transition when the categorical series differ on the source and the target chart.

  • fade: the source chart fades out while the target chart fades in
  • drilldown: markers are splitted to be able to represent the target chart
  • aggregate: markers are aggregated then splitted differently to be able to represent the target chart.