[Chartjs]-Populate chartjs ajax with datetime fields

1👍

As i remember charjs expect Date() object for Date entry
https://www.chartjs.org/docs/latest/axes/cartesian/time.html
so you can try

for(var i=0; i<data.length; i++) {
  entradas.push(new Date(data[i].entradas));
}

Leave a comment