Try to update chart labels
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-1
@@ -343,7 +343,9 @@ var LineChartComponent = (function () {
|
||||
var newLine = { data: res.lines.data, label: res.lines.label };
|
||||
newDataSet.push(newLine);
|
||||
_this.lineChartData = newDataSet;
|
||||
_this.lineChartLabels = res.labels.data.slice();
|
||||
var newDataSet2 = [];
|
||||
newDataSet2.push(res.labels.data.slice());
|
||||
_this.lineChartLabels = newDataSet2;
|
||||
});
|
||||
console.log("Init");
|
||||
};
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -57,7 +57,9 @@ export class LineChartComponent implements OnInit {
|
||||
newDataSet.push(newLine);
|
||||
this.lineChartData = newDataSet;
|
||||
|
||||
this.lineChartLabels = res.labels.data.slice();
|
||||
const newDataSet2 = [];
|
||||
newDataSet2.push(res.labels.data.slice());
|
||||
this.lineChartLabels = newDataSet2;
|
||||
});
|
||||
|
||||
console.log("Init");
|
||||
|
||||
Reference in New Issue
Block a user