Debug info

This commit is contained in:
2017-04-11 16:35:56 +02:00
parent 067ce85d5f
commit 0f1f0b74f1
4 changed files with 9 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -768,6 +768,9 @@ var PieChartComponent = (function () {
this.pieChartType = 'pie';
}
PieChartComponent.prototype.ngOnInit = function () {
console.log("Data in piechart");
console.log(this.data);
console.log(this.label);
this.pieChartLabels = this.label.data.slice();
this.pieChartData = this.data.data.slice();
};
+1 -1
View File
File diff suppressed because one or more lines are too long
+4
View File
@@ -24,6 +24,10 @@ export class PieChartComponent implements OnInit, OnChanges {
ngOnInit(): void {
console.log("Data in piechart");
console.log(this.data);
console.log(this.label);
this.pieChartLabels = this.label.data.slice();
this.pieChartData = this.data.data.slice();
}