Skip to content

Example of DateTime Axis in ASP.NET MVC Charts Control

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.

Tooltip is enabled in this example. To see the tooltip in action, hover over or tap on the chart.