diff --git a/mean-app/src/app/chart.component.ts b/mean-app/src/app/chart.component.ts index 77befe8..eea15cc 100644 --- a/mean-app/src/app/chart.component.ts +++ b/mean-app/src/app/chart.component.ts @@ -57,7 +57,7 @@ export class LineChartComponent implements OnInit { newDataSet.push(newLine); this.lineChartData = newDataSet; - this.lineChartLabels = res.labels.data; + this.lineChartLabels = res.labels.data.slice(); }); console.log("Init");