5.20231.904
wijmo.angular2.chart.animation Class WjFlexChartAnimation Wijmo API Class

WjFlexChartAnimation Class

Angular 2 component for the wijmo.chart.animation.ChartAnimation class.

The wj-flex-chart-animation component must be contained in one of the following components: wijmo.angular2.chart.WjFlexChart , wijmo.angular2.chart.WjFlexPie , wijmo.angular2.chart.finance.WjFinancialChart or wijmo.angular2.chart.radar.WjFlexRadar.

Use the wj-flex-chart-animation component to add ChartAnimation controls to your Angular 2 applications. For details about Angular 2 markup syntax, see Angular 2 Markup.

The WjFlexChartAnimation component is derived from the ChartAnimation class and inherits all its properties, events and methods.

Heirarchy

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.

initialized

initialized: EventEmitter<any>

This event is triggered after the component has been initialized by Angular, that is all bound properties have been assigned and child components (if any) have been initialized.

isInitialized

isInitialized: boolean

Indicates whether the component has been initialized by Angular. Changes its value from false to true right before triggering the initialized event.

wjProperty

wjProperty: string

Gets or sets a name of a property that this component is assigned to. Default value is ''.

Methods

animate

  • animate(): void

created

  • created(): void
  • If you create a custom component inherited from a Wijmo component, you can override this method and perform necessary initializations that you usually do in a class constructor. This method is called in the last line of a Wijmo component constructor and allows you to not declare your custom component's constructor at all, thus preventing you from a necessity to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.

    Returns void

Events

ended

Occurs after the animation ends.