try array copy
This commit is contained in:
@@ -57,7 +57,7 @@ export class LineChartComponent implements OnInit {
|
|||||||
newDataSet.push(newLine);
|
newDataSet.push(newLine);
|
||||||
this.lineChartData = newDataSet;
|
this.lineChartData = newDataSet;
|
||||||
|
|
||||||
this.lineChartLabels = res.labels.data;
|
this.lineChartLabels = res.labels.data.slice();
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("Init");
|
console.log("Init");
|
||||||
|
|||||||
Reference in New Issue
Block a user