标签: reactjs highcharts react-highcharts
当图表中所有值均为0且我没有最大轴值时,我将获得空格代替条形图
答案 0 :(得分:1)
您需要为gridZIndex增加yAxis属性:
gridZIndex
yAxis
yAxis: { gridZIndex: 4, ... }
实时演示: https://jsfiddle.net/BlackLabel/0e89puxL/
API参考: https://api.highcharts.com/highcharts/series.column.minPointLength
答案 1 :(得分:0)
添加z-index时,网格线与条形重叠