yAxis加了max空白间距问题,取消就没有echarts 柱状配置项内容和展示

配置项如下
      option = {
    title: {
        text: 'Awesome Chart'
    },
    grid: {
        left: "0%",
        right: "9%",
        bottom: "3%",
        top: "6%",
        containLabel: true
    },
    xAxis: {
        type: 'value',
        show: false
    },
    yAxis: [{
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
        splitNumber: 12,
        max: 21,
        inverse: true,
        axisTick: {
            show: false
        },
    }],
    series: [{
        type: 'bar',
        data: [0, 191, 234, 290, 330, 310],
        barMaxWidth: 6,
        barMinHeight: 5,
    }]
};
    
截图如下