I'm having troubles getting regular 15min time interval with my chart js graph. Here the setup of my xAxis:
xAxes: [{
type: 'time',
ticks: {
maxRotation: 90,
minRotation: 80
},
time: {
format: 'HH:mm',
tooltipFormat: 'HH:mm',
unit: 'minute',
unitStepSize: 15,
displayFormats: {
'minute': 'HH:mm',
'hour': 'HH:mm'
},
min: 1502521200000,
max: 1502553600000
}
}]
x data are timestamps: 1502521200000
Incidentally, I want my data frame to start at 1502521200000 and finish at 1502553600000 but the first data point doesn't have a label:
Thanks for the help
JSFiddle: https://jsfiddle.net/tn7ksfb6/