• Open in:

No-gap Date Axis

It’s a common scenario, especially in financial data, that you have non-continuous data – there are gaps at night or on weekends or holidays. And it is a widespread practice that these gaps are not displayed on the axis, showing only the dates that have data. For this purpose, we created a GaplessDateAxis class, which addresses this use-case. Just replace your DateAxis with this class and that’s it – no more gaps in your chart.

Related tutorials

Demo source