0👍
You are passing the values as strings. Try to pass as dates:
datasets: [{
label: 'Demo',
data: [{
t: new Date("2015-3-15 13:3"),
y: 12
},
- [Chartjs]-Time scatter plot w/ chart.js
- [Chartjs]-Chart.js v2 is there a way to draw bar chart horizontally?
Source:stackexchange.com