test123
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -248,8 +248,8 @@ var LineChartComponent = (function () {
|
||||
.get()
|
||||
.subscribe(function (res) {
|
||||
console.log(res);
|
||||
_this.lineChartData[0].data = res.data;
|
||||
console.log(_this.lineChartData[0]);
|
||||
var newLine = { data: res.data, label: res.label };
|
||||
_this.lineChartData[0] = newLine;
|
||||
});
|
||||
console.log("Init");
|
||||
};
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -46,8 +46,9 @@ export class LineChartComponent implements OnInit {
|
||||
.get()
|
||||
.subscribe(res => {
|
||||
console.log(res);
|
||||
this.lineChartData[0].data = res.data;
|
||||
console.log(this.lineChartData[0]);
|
||||
const newLine = {data: res.data, label: res.label};
|
||||
this.lineChartData[0] = newLine;
|
||||
|
||||
});
|
||||
|
||||
console.log("Init");
|
||||
|
||||
Reference in New Issue
Block a user