Thank you for the response, I was able to get it working with xtickformat
indeed.
f = Figure()
ax = Axis(f[1,1], xtickformat=values->["$(unix2datetime(value))" for value in values])
xs = DateTime(2020,1,1):Hour(1):DateTime(2020,1,2)
xs_unix = datetime2unix.(xs)
ys = 1:25
scatter!(ax, xs_unix, ys)
vspan!(ax, xs_unix[1], xs_unix[10])
f
dzɔn has marked this topic as resolved.
Last updated: Jun 09 2025 at 04:50 UTC