This commit is contained in:
Bluepr1nt
2017-04-04 14:58:58 +02:00
parent c3f1ed2d2e
commit 42409911d2
4 changed files with 10 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -246,7 +246,10 @@ var LineChartComponent = (function () {
var _this = this;
this.dataService
.get()
.subscribe(function (res) { return _this.lineChartData[0].data = res.data; });
.subscribe(function (res) {
console.log(res);
_this.lineChartData[0].data = res.data;
});
console.log("Init");
};
LineChartComponent = __decorate([
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -44,7 +44,10 @@ export class LineChartComponent implements OnInit {
this.dataService
.get()
.subscribe(res => this.lineChartData[0].data = res.data);
.subscribe(res => {
console.log(res);
this.lineChartData[0].data = res.data;
});
console.log("Init");
}