ewh
Posts: 1
Joined: Fri Feb 26, 2021 4:53 pm

collapse gap of null values

I have a gap created by null values in this area chart. Is there a way to fully or partially collapse this gap? Thanks.
Screen Shot 2021-02-26 at 10.57.39 AM.png
Screen Shot 2021-02-26 at 10.57.39 AM.png (26.14 KiB) Viewed 92 times
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: collapse gap of null values

Hello ewh!

Welcome to our forum and thanks for contacting us with your question!

Sure, we can use a broken-axis module for that. Thanks for that we can set what sections on our axis will be left out and it will shift points closer to each other.

API references:
https://api.highcharts.com/highcharts/x ... 1606902156

Demo:
https://jsfiddle.net/gh/get/library/pur ... ak-simple/

Let me know if that was what you were looking for!
Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Usage”