空数据占比 - 单Y轴单柱,刻度对齐柱中间

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            option = {
    title: {
        left: 'center',
        text: '空数据占比'
    },
    xAxis: {
        type: 'category',
        data: ['me_mo', 'me_mo2', 'me_mo3', 'me_mo4', 'me_mo5', 'me_mo6', 'me_mo7'],
        axisTick: {
            alignWithLabel: true
        }
    },
    yAxis: {
        name: '速度',
        scale: true,
        type: 'value'
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'cross'
        },
        backgroundColor: 'rgba(245, 245, 245, 0.8)',
        borderWidth: 1,
        borderColor: '#ccc',
        padding: 10,
        textStyle: {
            color: '#000'
        },
    },
    axisPointer: {
        link: {
            xAxisIndex: 'all'
        },
        label: {
            backgroundColor: '#777'
        }
    },
    toolbox: {
        feature: {
            dataZoom: {
                yAxisIndex: false
            },
            brush: {
                type: ['lineX', 'clear']
            }
        }
    },
    dataZoom: [{
            type: 'slider',
            show: true,
            xAxisIndex: [0],
            top: '85%',
            start: 0,
            end: 100
        },
        {
            type: 'slider',
            show: true,
            yAxisIndex: [0],
            left: '93%',
            start: 0,
            end: 100
        },
        {
            type: 'inside',
            xAxisIndex: [0],
            start: 0,
            end: 100
        },
        {
            type: 'inside',
            yAxisIndex: [0],
            start: 0,
            end: 100
        }
    ],
    legend: {
        top: 30,
        data: ['实测']
    },
    grid: {
        left: '10%',
        right: '10%',
        bottom: '15%',
        containLabel: true
    },
    series: [{
            name: '实测',
            symbol: 'none',
            data: [820, 932, 901, 934, 1290, 1330, 1320],
            type: 'bar',
        },
    ]
};