@Ovilia 
This is the options of pie chart.Adding the limitScale parameter.
Less than limitScale, do not show.
Do I need to resubmit a Pull Request?
options = {
        title: {
           text: '饼图标题',
            left: 16,
            textStyle: {
                fontSize: 14
            }
        },
        tooltip : {
            trigger: 'item',
            axisPointer : {            // 坐标轴指示器,坐标轴触发有效
                type : 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
            },
            extraCssText: 'max-width: 300px; word-break:break-all; white-space: 
normal'
        },
        legend:{
            data: []
        },
        series: [
            {
                type: 'pie',
                label: {
                    normal: {
                        show: true,
                        limitScale:0.02//小于2%的,不显示
                    },
                    emphasis: {
                        show: true,
                        textStyle: {
                            fontSize: '14',
                            fontWeight: 'bold'
                        }
                    }
                },
                labelLine: {
                    lineStyle: {
                        // color: '#D9D9D9'
                    }
                },
                data: []
            }
        ]
    };

[ Full content available at: 
https://github.com/apache/incubator-echarts/pull/8759 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to