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

wijmo.angular2.chart.interaction Module

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

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

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