Fix the axis ticks for larger tick sizes

When having larger axis ticks (for longer periods, this could e.g. be one week) the axis ticks show meaningless values (weekday and time of day). Print appropriate axis ticks depending on the actual axis tick size.