Chartjs-How to get canvas/ctx object in Chart.js for an Angular project

1👍

Figured it out for anyone interested. My issue was due to where I was trying to get the canvas. My canvas retrieval code was being done in my constructor. I moved it to an ngOnit() function and it worked fine.

Leave a comment