[Chartjs]-Chart.js not drawing on mobile (safari/chrome) fine on desktop

1👍

Turned out there was something wrong with the api-route on mobile vs dektop relating to localhost. Therefore my data wasn’t being fetched from the api and thus wouldn’t populate the chart which is why it is not displaying on mobile. In other words, I was looking in the wrong places for an answer.

0👍

I’ve had similar problems myself, I resolved my issue by playing around with the borderWidth in order to get it working across all devices. Try changing it several times to see if it has any impact at all.

Leave a comment