I am trying to create a Highcharts chart where the yAxis data is time in milliseconds. I would like the yAxis label to show the time, i.e. seconds, minutes, etc. as appropriate. I tried setting yAxis.type = 'datatime' but that is converting to actual dates. Without it, using the example below, my yAxis is going from 0
to 100 M
for obvious reasons.
[[1522187288000, 79692000], [1523314079000, 60000]]
This is my config where plot
is the data above:
{
chart: {
type: 'line'
},
credits: {
enabled: false
},
title: {
text: null
},
yAxis: {
title: {
text: null
}
},
xAxis: {
type: 'datetime'
},
legend: {
enabled: false
},
series: [{
'data': plot
}],
plotOptions: {
series: {
animation: {
duration: 0
}
}
},
}
Edit: I also need my point labels to match the yAxis.