5.20231.904
Wijmo API Module wijmo.angular2.chart.animation Wijmo API Module

wijmo.angular2.chart.animation Module

Contains Angular 2 components for the wijmo.chart.animation module.

wijmo.angular2.chart.animation is an external TypeScript module that can be imported to your code using its ambient module name. For example:

import * as wjAnimation from 'wijmo/wijmo.angular2.chart.animation';
import * as wjChart from 'wijmo/wijmo.angular2.chart';
 
@Component({
    directives: [wjChart.WjFlexChart, wjAnimation.WjFlexChartAnimation, wjChart.WjFlexChartSeries],
    template: `
      <wj-flex-chart [itemsSource]="data" [bindingX]="'x'">
          <wj-flex-chart-animation [animationMode]="'Point'"></wj-flex-chart-animation>
          <wj-flex-chart-series [binding]="'y'"></wj-flex-chart-series>
      </wj-flex-chart>`,
    selector: 'my-cmp',
})
export class MyCmp {
    data: any[];
}