There is implementation of chartist tool tip plugin in a chartist, I like to know is it possible to change the date format to human readable as such DD-MM-YYYY.
var chart = new Chartist.Line('.ct-chart', {
labels: [1, 2, 3],
series: [
[
{meta: 'description', x :new Date(parseInt(15433865410)), y: 25},
],
]
}, {
plugins: [
Chartist.plugins.tooltip()
]
});
In tooltip the x axis value shows as 15433865410, I need it to be DD-MM-YYYY. Any suggestion appreciated