This commit is contained in:
2017-04-10 13:58:54 +02:00
parent f710be45ae
commit b5d76caba9
4 changed files with 9 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -1
View File
@@ -559,7 +559,9 @@ var LineChartComponent = (function () {
this.lineChartData = newDataSet;
};
LineChartComponent.prototype.ngOnChanges = function () {
this.chart.chart.update();
if (this.chart.chart != undefined) {
this.chart.chart.update();
}
};
__decorate([
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__angular_core__["Input"])(),
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -55,7 +55,10 @@ export class LineChartComponent implements OnInit, OnChanges {
}
ngOnChanges(): void {
this.chart.chart.update();
if(this.chart.chart != undefined){
this.chart.chart.update();
}
}