-- Problem: Consider a datasource where at least two date fields span a large time frame. We can build a chart that aggregates that data by small units (categoryAxis.baseUnits) such as 'days' or 'months'. That chart however contains many empty data points and the 'real' data is difficult to locate on the chart. This often requires zooming in and out many times to view the data one is looking for. However, it is still very valuable to be able to group by day or month, and to view this data in one succinct image.
-- Demo: The best way to experience this is to use the following Demo
This dojo is from the 'Date axis' chart demo on the demos.telerik.com site under Kendo UI for JQuery. Edit the example. There are 17 values in the datasource. Change the year on the last value to '2019'. All current values have dates between 2011-2012.
-- Required Chart Setup: Create a chart utilizing the following chart options
series.aggregate = 'avg'
categoryAxis.baseUnit = 'days'
dataSource with fields that contain at least one large date span
Add option to hide date aggregates chart points where no data exists within the datasource.