Check exec order
This commit is contained in:
@@ -46,6 +46,8 @@ export class LineChartComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
console.log("Initializing Chart");
|
||||
|
||||
this.lineChartLabels = this.label.data.slice();
|
||||
|
||||
console.log("Updated labels array");
|
||||
|
||||
@@ -37,6 +37,7 @@ export class DetailComponent implements OnInit {
|
||||
this.data2 = res.TOE1;
|
||||
|
||||
this.loaded = true;
|
||||
console.log("Data loaded from API");
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user