This commit is contained in:
Bluepr1nt
2017-04-05 13:28:00 +02:00
parent 6757c651bc
commit 6a09b8edbc
4 changed files with 4 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -469,10 +469,10 @@ var LineChartComponent = (function () {
}
LineChartComponent.prototype.ngOnInit = function () {
var _this = this;
console.log("ChartComponentID= " + this.id);
this.dataService
.get(this.id)
.subscribe(function (res) {
console.log("ChartComponentID= " + _this.id);
console.log("Received from service:");
console.log(res);
var newDataSet2 = [];
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -2
View File
@@ -42,11 +42,10 @@ export class LineChartComponent implements OnInit {
constructor(private dataService: DataService) {}
ngOnInit(): void {
console.log("ChartComponentID= "+ this.id);
this.dataService
.get(this.id)
.subscribe(res => {
console.log("ChartComponentID= "+ this.id);
console.log("Received from service:");
console.log(res);