Make date+time resolution based on date interval.

The date+time resolution displayed on both the x-axis and mouse-over tool-tip is scaled according to the histogram date interval.

E.g. if histogram interval is '1M', only show dates to the month, not the day or time.