Hello,
Let's say we have in the axis a unix time as:
series: [{
data: [
[1567697090, 1],
[1567697100, 1],
[1567697110, 2]
]
]
And wish to format ths unix time to a readable time, by using your website samples as:
xaxis: {
labels: {
format: undefined,
formatter: undefined,
datetimeFormatter: {
year: 'yyyy',
month: 'MMM \'yy',
day: 'dd MMM',
hour: 'HH:mm'
}
}
}
Nothing happens, the Unix time is not being converted.
Thank you.
You should convert the unix time to JavaScript timestamp by multiplying it by 1000.
oh ok, thank you
Most helpful comment
You should convert the unix time to JavaScript timestamp by multiplying it by 1000.