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.
- [Chartjs]-Chart.js: bar chart first bar and last bar not displaying in full
- [Chartjs]-Adding trendlines to existing chart Chart.js
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.
- [Chartjs]-Chart.js – user add the final point of the line
- [Chartjs]-Chart.js chartjs-node-canvas this._chartJs is not a constructor
Source:stackexchange.com