[]
        
(Showing Draft Content)

ChartAnimation Class

ChartAnimation Class

Represents the animation for FlexChart, FinancialChart and FlexPie.

The ChartAnimation provides built-in animation while loading and updating the chart. The animation can be configured by the user through several properties that include duration, easing function, animation mode.

Heirarchy

Constructors

Properties

Methods

Events

Constructors

constructor

Properties

animationMode

animationMode: AnimationMode

Gets or sets whether the plot points animate one at a time, series by series, or all at once. The whole animation is still completed within the duration.

axisAnimation

axisAnimation: boolean

Gets or sets a value indicating whether animation is applied to the axis.

chart

Gets the animated chart instance.

duration

duration: number

Gets or sets the length of entire animation in milliseconds.

easing

easing: Easing

Gets or sets the easing function applied to the animation.

Methods

animate

  • animate(): void
  • Performs the animation.

    Returns void

Events

ended

Occurs after the animation ends.