0👍
Provide the configuration of xAxes
a ticks callback.
xAxes: [{
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
console.log('value => ',value);
var input = value.split(' ');
return input[0] + ' ' + input[1] + ' 12:00 AM';
}
}
}]
Updated JS fiddle – https://jsfiddle.net/4o8ha0sq/1/
Source:stackexchange.com