/
/
DateTime Axis

This sample demonstrates the rendering of date time axis in the chart with weather statistics analysis of Alaska for a year.
More Details...

Loading...
Description

DateTime data is used in this sample and data values are represented using dataLabel. Date time axis uses date time scale and displays the date time values as axis labels. To render dateTime axis, set valueType in axis to DateTime. Format for the axis label will be calculated based on intervalType of axis or we can set the format through labelFormat property in axis. Injecting Module Chart component features are segregated into individual feature-wise modules. To use DateTime Axis, we need to inject DateTimeService into the @NgModule.providers section. More information on the DateTime can be found in this documentation section.