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. Injecting Module Chart component features are segregated into individual feature-wise modules. To use DateTime axis, we need to inject DateTime module using Chart.Inject(Datetime) method. More information on the DateTime axis can be found in this documentation section.