debug info

This commit is contained in:
Bluepr1nt
2017-04-11 16:25:49 +02:00
parent 770f236758
commit 5f27b67cfc
4 changed files with 10 additions and 6 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -209,9 +209,11 @@ var DashboardComponent = (function () {
this.dataService
.usage("4530303035303031353538313833363134")
.subscribe(function (res) {
console.log("result " + res);
console.log("result ");
console.log(res);
_this.data1 = ({ data: [res.HOV, res.HTV], label: "Verbruik Martijn" });
console.log("data " + _this.data1);
console.log("data ");
console.log(_this.data1);
_this.mloaded = true;
});
this.dataService
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -43,9 +43,11 @@ export class DashboardComponent implements OnInit, OnDestroy {
this.dataService
.usage("4530303035303031353538313833363134")
.subscribe(res => {
console.log("result " + res);
console.log("result ");
console.log(res);
this.data1 = <LineData> ({data: [res.HOV, res.HTV], label: "Verbruik Martijn"});
console.log("data "+this.data1);
console.log("data ");
console.log(this.data1);
this.mloaded = true;
});