0

when all the values are 0 in the chart and I don't have a max axis value I am getting blank space in place of bars enter image description here

2 Answers2

1

You need to increase gridZIndex property for yAxis:

yAxis: {
    gridZIndex: 4,
    ...
}

Live demo: https://jsfiddle.net/BlackLabel/0e89puxL/

API Reference: https://api.highcharts.com/highcharts/series.column.minPointLength

ppotaczek
  • 36,341
  • 2
  • 14
  • 24
0

enter image description here

the grid line overlapps the bar when we add z-index

  • 1
    You can set the `zIndex` property only if there is one grid line. Example: https://jsfiddle.net/BlackLabel/abx6vy9g/ – ppotaczek Jul 09 '19 at 14:10