Example of DateTime Category Axis in Javascript Chart Control

/
/
DateTime Category Axis

This sample shows the date-time category axis with sample data about the sales of a product on different business days.

More Details...

Description

The date-time category axis is used to display date-time values with nonlinear intervals. For example, business days alone can be depicted here in a week. To use a date-time category axis, set the valueType in axis to DateTimeCategory. Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. For datetime category axis, you should inject DateTimeCategory module by using Chart.Inject(DateTimeCategory)method. More information on the datetime category axis can be found in this documentation section. documentation section.