Highcharts Line - When the min axis Y is set to 0, the trunk is not displayed for consecutive values โ€‹โ€‹of 0

For a line chart with sequential 0 values, 0 points are not connected if the min axis of the Y axis is set to 0. Check jsFiddle.

http://jsfiddle.net/ke7RM/

There seems to be a clipPath in SVG that truncates this line, but I cannot find a way to change this path through the Highcharts API.

<clipPath id="highcharts-1"><rect fill="none" x="0" y="0" width="332" height="292"></rect></clipPath> 

Any ideas?

EDIT: It looks like this has been fixed in the latest version. Thanks!

+4
source share
1 answer

Unfortunately, this is a known bug reported to our developers here https://github.com/highslide-software/highcharts.com/issues/1687

You can try setting a minimum value or threshold value:

http://api.highcharts.com/highcharts#plotOptions.series.threshold http://api.highcharts.com/highcharts#yAxis.min

+2
source

Source: https://habr.com/ru/post/1486064/


All Articles