Bugfix
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-1
@@ -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"])(),
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user