1๐
I solved adding the yAxisID in the returned JSON
[{
"dataset": {
"yAxisID": "impressions" <-------
},
"name": "impressions",
"data": {
"2020-03-30": 30846,
"2020-03-31": 34019,
"2020-04-01": 40007,
"2020-04-02": 43751,
โฆ
- [Chartjs]-Gradient line chart with ChartJS
- [Chartjs]-Using chart.js with laravel passing data from controller to view
Source:stackexchange.com