• Open in:

XY Chart with Date-Based Axis

In addition to category and value axes, XYChart supports date axes. This enables various date-specific formatting and layout scenarios.

Implementation details

We add a new DateAxis to the chart’s xAxes. We also specify dateFormat in the series data processor to configure how the dates are formatted in our data.

Related tutorials

Demo source