Fix x-axis-max for hours greater than 12