0👍
Turns out it was the way i was defining my data.
The check was for a weak array and passing it an empty value wasn’t what it was expecting.
And also in the way i was adding data, i should have stuck to adding it in seconds.
data: [
arrayToDate([
"08:25", "08:39"
]),
arrayToDate([
"09:45", "09:55"
]),
[undefined, undefined],
[undefined, undefined],
[undefined, undefined],
[undefined, undefined],
[undefined, undefined]
],
https://jsfiddle.net/wo9zku6s/16/ is the working result.
- Chartjs-Chart.js: Thousand Separator and Tittle ind the Middle of the Doughnut
- Chartjs-Remove Chart.js Gridline Overlap
Source:stackexchange.com