echarts 饼图label上面只显示指定数据

data: [
            {
        name: "异常",
        value: "12"
    },
    {
        name: "正常",
        value: "21",
        label: {
                normal: {
                    position: 'inner',
                    show:false,
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
    }
            ],

  

label: {
                normal: {
                    position: 'inner',
                    show:false,
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            }  关键代码
原文地址:https://www.cnblogs.com/snowhite/p/14251900.html