• Open in:

XY Chart with Fills to the Axis

This demo shows how to create area chart series with fills going to different axes. As you can see, the fill of the lower series goes to the X axis, while the upper series is filled to the Y axis.

Key implementation details

To achieve this all we need to do is set baseAxis on the series. The series is then filled towards that axis.

Related tutorials

Demo source