https://i.stack.imgur.com/JKUpL.png
This is the current format of data I am receiving from the server, but I would like it to be in the form of an Object.
public getOrder(): Observable < ORDERS > {
return this._http.get < ORDERS > (`${this._apiBase}/charts/list/ORDERS/`);
}
This is how the data is currently being retrieved from the server.
ngOnInit() {
this._dashService.getOrder().subscribe(order => {
this.orders = order;
console.log(this.orders);
})
}