业务类型占比echarts 饼配置项内容和展示

配置项如下
      app.title = '';

option = {
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    legend: {
        orient: 'vertical',
        x: 'left',
        data:['先采后销','先销后采','代收代付']
    },
    series: [
        {
            name:'业务类型',
            type:'pie',
            radius: ['50%', '70%'],
            avoidLabelOverlap: false,
            label: {
                normal: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    show: true,
                    textStyle: {
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                }
            },
            labelLine: {
                normal: {
                    show: true
                }
            },
            data:[
                {value:335, name:'先销后采'},
                {value:310, name:'代收代付'},
                {value:1548, name:'先采后销'}
            ]
        }
    ]
};

    
截图如下