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

wijmo.angular2.chart Module

Contains Angular 2 components for the wijmo.chart module.

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

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