Example of undefined in React Chart Component


This sample shows the date-time axis in a chart with a weather report for the year 2016.

More Details...


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 into services.

More information on the DateTime axis can be found in this documentation section.