Possible bugfix

This commit is contained in:
2017-04-11 16:31:57 +02:00
parent 87c078a4ae
commit 067ce85d5f
4 changed files with 4 additions and 9 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -3
View File
@@ -769,9 +769,7 @@ var PieChartComponent = (function () {
}
PieChartComponent.prototype.ngOnInit = function () {
this.pieChartLabels = this.label.data.slice();
var newDataSet = [];
newDataSet.push(this.data.data);
this.pieChartData = newDataSet;
this.pieChartData = this.data.data.slice();
};
PieChartComponent.prototype.ngOnChanges = function () {
if (this.chart.chart != undefined) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -4
View File
@@ -25,10 +25,7 @@ export class PieChartComponent implements OnInit, OnChanges {
ngOnInit(): void {
this.pieChartLabels = this.label.data.slice();
const newDataSet = [];
newDataSet.push(this.data.data);
this.pieChartData = newDataSet;
this.pieChartData = this.data.data.slice();
}
ngOnChanges(): void {