Chartjs-Chart.js Passing an array starting with 1 instead of 0 problem

0👍

Yes it was a trivial problem. So the answer from Magnus Eriksson helped me solving this:

It was: $daysArr[] = $i + 1;

With dd() the $daysArr

The chart with the index 1

Thank you very much for the fast answer!

Leave a comment