0
現在Angular2プロジェクトでハイチャートを実装しようとしています。 Unluckily私はこのエラーが表示されます:名前 'HighchartsOptions'を見つけることができません 私が使用したチュートリアルリンク。 www.npmjs.com/package/angular2-highcharts#installationAngular 2 - HighCharts実装:名前 'HighchartsOptions'を見つけることができません
import { Component } from '@angular/core';
@Component({
selector: 'simple-chart-example',
template: `
<chart [options]="options"></chart>
`
})
export class MyChart {
constructor() {
this.options = {
title : { text : 'simple chart' },
series: [{
data: [29.9, 71.5, 106.4, 129.2],
}]
};
}
options: HighchartsOptions; //That's the line where I get the error
enter code here
}