This sample shows the date-time axis in a chart with a weather report for the year 2016.
The date-time axis uses a date-time scale and displays date-time values as the axis labels. To use a date-time axis, set the
ValueType in axis to DateTime.
Chart component features are segregated into individual feature-wise modules. To use DateTime axis, we need to inject
DateTime module into
More information on the DateTime axis can be found in this documentation section.