format time axis of 24 hour chart to use 12 hour clock for all zoom levels and to give enough space between tick labels to not overlap at millisecond zoom