Follow up from T383109
Charts created from data sets that specify a range of years treat the years as numbers instead of dates, causing display issues like the one seen here: https://commons.wikimedia.org/wiki/Data:New_Zealand_Annual_Wine_Production.chart
We should support an explicit "year" type to prevent ambiguity.
