If you have static strings, you can convert them to a datetime object ...
//convert 'string' times into a timestamp (milliseconds) //so long as your string times are consistently formatted //eg "0:03:00" not "3:00" var t = Date.parse("1-1-1 " + yourTime)
... But if you can turn them into a millisecond, you should be fine.
Then use the regular time format for the y axis and format it as you like using the date stamp format ...
var chart = new HighChart({ //... yAxis: { type: 'datetime', //y-axis will be in milliseconds dateTimeLabelFormats: { //force all formats to be hour:minute:second second: '%H:%M:%S', minute: '%H:%M:%S', hour: '%H:%M:%S', day: '%H:%M:%S', week: '%H:%M:%S', month: '%H:%M:%S', year: '%H:%M:%S' } } });
NT3RP source share