cuijian-dexter edited a comment on issue #8997: Pie chart adds filterValue 
parameter
URL: 
https://github.com/apache/incubator-echarts/pull/8997#issuecomment-430475841
 
 
   @100pah check it again.Thanks
   var option = {
               title: {
                   text: '饼图标题',
                   left: 16,
                   textStyle: {
                       fontSize: 14
                   }
               },
               tooltip: {
                   trigger: 'item',
                   axisPointer: {
                   },
                   extraCssText: 'max-width: 300px; word-break:break-all; 
white-space: normal'
               },
               legend: {
                   data: [
                           
                   ]
               },
               series: [
                   {
                       type: 'pie',
                       
labelDisplayThreshold:0.1,//范围为0-1,默认为0,全部显示。百分比小于0.1的,不显示
                       label: {
                           normal: {
                               show: true
                           },
                           emphasis: {
                               show: true,
                               textStyle: {
                                   fontSize: '14',
                                   fontWeight: 'bold'
                               }
                           }
                       },
                       labelLine: {
                           lineStyle: {
                               color: '#D9D9D9'
                           }
                       },
                       data: [{
                           name:'1212',
                           value:100
                       },
                           {
                               name:'1212',
                               value:49.9
                           },
                           {
                               name:'1212',
                               value:100
                           },
                           {
                               name:'1212',
                               value:100
                           },
                           {
                               name:'1212',
                               value:100
                           },
                           {
                               name:'1212',
                               value:50.1
                           },
   
                       ]
                   }
               ]
           }

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to