I have a scatter graph using Chart.js and in the X axes I have time values (I use Moment.js). The problem is that I want the scale reversed (see the image) but it doesn't work with the
scales: {
xAxes: [{
type: 'time',
...
ticks: {
reverse: true
},
So I need to use the linear type. The problem is that with the linear time in the X axes I see the seconds and what I want are the seconds in 'mm:ss' format, so I think I need to use labels.
The question is: how can I use the labels for the x axes in the scatter plot graph? graph image