第二个echarts 柱状配置项内容和展示

挺好的

配置项如下
      app.title = '事件态度条形图';

option = {
    tooltip : {
        trigger: 'axis',
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
        }
    },
    legend: {
        data:['积极', '消极', '中立']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    xAxis : [
        {
            type : 'value'
        }
    ],
    yAxis : [
        {
            type : 'category',
            axisTick : {show: false},
            data : ['警察','于欢','于欢母亲','法院','死者']
        }
    ],
    series : [
        {
            name:'积极',
            type:'bar',
            label: {
                normal: {
                    show: true,
                    position: 'inside'
                }
            },
            data:[10, 110, 43, 10, 44]
        },
        {
            name:'中立',
            type:'bar',
            stack: '总量',
            label: {
                normal: {
                    show: true
                }
            },
            data:[204, 140, 216, 215, 131 ]
        },
        {
            name:'消极',
            type:'bar',
            stack: '总量',
            label: {
                normal: {
                    show: true,
                    position: 'left'
                }
            },
            data:[-86, -50, -41, -75, -124]
        }
    ]
};

    
截图如下