refactored chart page to be able to separate html from js code. It now runs in the client, meaning, I placed the logic for the charts in the public folder.
I also left the endpoint (changed its name from /finance to /api/performance) exposing the data needed.
refactored chart page to be able to separate html from js code. It now runs in the client, meaning, I placed the logic for the charts in the public folder.
I also left the endpoint (changed its name from /finance to /api/performance) exposing the data needed.