echarts 柱状配置项内容和展示

配置项如下
          option = {
        color: [
            '#1aa1ff',
            '#31c17b',
            '#ff6535'
        ],
        backgroundColor:'#174179',
        title: {
            text: '',
            left: '5%',
            top: '6%'
        },
        legend: {
            data: ['总订单', '区域价订单', '非区域价订单'],
            textStyle: {
                color: '#fff',
                fontSize: '10'
            },
            // top: '25%',
            // itemHeight: 10,
            // itemWidth: 25
        },
        // grid: {
        //     left: '12%',
        //     right: '4%',
        //     bottom: '18%',
        //     containLabel: false
        // },
        xAxis: [{
            type: 'value',
            name: '',
            axisLabel: {
                color: '#fff',
                show: false,
                // formatter: '{value}'
            },
            splitLine: {
                show: false
            },
            axisLine: {
                
                lineStyle: {
                    color: '#1d5eae'
                    
                }
            }
        }],
        yAxis: [{
            type: 'category',
            axisLabel: {
                color: '#fff',
                fontSize: '10',
                formatter: '{value}'
            },
            splitLine: {
                show: false
            },
            axisLine: {
                lineStyle: {
                    color: '#1d5eae'
                }
            },
            data: ['总订单', '区域价订单', '非区域价订单']
        }],
        series: [{
                name: '总订单',
                type: 'bar',
                stack: '订单',
                data: [4100, 3600, 500],
                 label: {
                normal: {
                    show: true,
                    position: 'insideRight',
                    formatter: function(v) {
                    var val = v.data;
                    if (val == 0) {
                        return '';
                    }
                    return val+'(人)';
                },
                }
            },
                barWidth: '40'
            },
            
        ]
    };
    
截图如下