Chart Dates: Part 2 of 3 fixup

Refactor of the date settings into its own
widget so we can re-use it across any chart
that supports date ranges.