You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/09/03 10:23:27 UTC

[GitHub] cuijian-dexter opened a new pull request #8997: The value of the fan page of the pie chart is less than a certain value. The label and labelLine of this fan page are not displayed.

cuijian-dexter opened a new pull request #8997: The value of the fan page of the pie chart is less than a certain value. The label and labelLine of this fan page are not displayed.
URL: https://github.com/apache/incubator-echarts/pull/8997
 
 
   The value of the fan page of the pie chart is less than a certain value. The label and labelLine of this fan page are not displayed.
   
   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: [
           
         ]
       }
     ]
   };

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org