2👍
Chartjs graph convert the dates using LocalDateTime, I found this workaround which requires you to change the code of ChartJs graph – github.com/chartjs/Chart.js/issues/4334#issuecomment-386325799
or you could use a callback to generate the X-axis tick
ticks: {
callback: (label, index, values) => {
return moment.utc(label);
}
}
- [Chartjs]-Chart.js – mixing bar and line graphs – can I get the lines to fill the full column?
- [Chartjs]-Chartjs Bar Chart Legend
Source:stackexchange.com