New to Kendo UI for Angular? Start a free 30-day trial
NavigatorSeriesComponent
A collection of one or more navigator series items.
ts
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: `
<kendo-stockchart>
<kendo-chart-navigator>
<kendo-chart-navigator-series>
<kendo-chart-navigator-series-item type="area" [data]="data" field="value" categoryField="date">
</kendo-chart-navigator-series-item>
</kendo-chart-navigator-series>
</kendo-chart-navigator>
</kendo-stockchart>
`
})
class AppComponent {
public data: any[] = [];
constructor() {
for (let idx = 0; idx < 100; idx++) {
this.data.push({
date: new Date(2017, 0, idx),
value: Math.random() * 100
});
}
}
}
Selector
kendo-chart-navigator-series