固定Y轴高度

描述:当前是关于Echarts图表中的 示例。
 
            option = {
    "color": [
        "#2ECC71"
    ],
    "tooltip": {
        "trigger": "item",
        "triggerOn": "click",
        "backgroundColor": "#2ECC71"
    },
    "grid": {"left": "0%","right": "0%","bottom": "0%","containLabel": true,"height": 400},
    "xAxis": {
        "type": "value",
        "axisLine": {
            "show": false
        },
        "axisLabel": {
            "show": false
        },
        "axisTick": {
            "show": false
        },
        "splitLine": {
            "show": false
        }
    },
    "yAxis": {
        "type": "category",
        
        "data": [
            "单选题6",
            "单选题5",
            "单选题4",
            "单选题3",
            "单选题2",
            "单选题1"
        ],
         min:0,max:4,
        
        "axisLine": {
            
            "show": true,
           
        },
        "axisLabel": {
            "show": true,
             
        },
        "axisTick": {
            "show": true,
            
        },
        "splitLine": {
            "show": true,
            
        },
        "splitArea": {
            interval: 0,
            
        }
    },
    "series": [
        {
            type: 'bar',
            itemStyle: {
                normal: {color: 'rgba(119,119,119,0.2)'}
            },
            barGap:'-100%',
            barCategoryGap:'40%',
            data: [100,100,100,100,100,100],
            
            "barWidth": 60
        },
        {
            "name": "z",
            "type": "bar",
            "label": {
                "normal": {
                    "color": "#444",
                    "show": true,
                    "position": "insideLeft"
                }
            },
            "data": [
                10,
                3,
                1,
                0,
                1,
                0
            ],
            "barWidth": 60
        }
    ],
    "animation": true,
    dataZoom:[ { "type": "inside", "yAxisIndex": [ 0 ],
                                   "filterMode": "weakFilter", "start": 0, "end": 40 } ]
}