You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/07 01:22:44 UTC

[GitHub] [incubator-echarts] Shaxin742 opened a new issue #11576: itemstyle normal 添加border在只有一个时还是有边框

Shaxin742 opened a new issue #11576: itemstyle normal 添加border在只有一个时还是有边框
URL: https://github.com/apache/incubator-echarts/issues/11576
 
 
   ![image](https://user-images.githubusercontent.com/23325831/68351998-0adcd200-0140-11ea-809e-e82205db0b5c.png)
   
   
   ![image](https://user-images.githubusercontent.com/23325831/68352021-1b8d4800-0140-11ea-837a-638dbd00299c.png)
   
   const option = {
         legend: {
           orient: 'vertical',
           x: 'left',
           data: ['直接访问', '邮件营销', '联盟广告', '视频广告']
         },
         series: [
           {
             type: 'pie',
             label: {
               normal: {
                 show: false
               }
             },
             labelLine: {
               normal: {
                 show: false
               }
             },
             itemStyle: this.itemStyle,
             data: [
               { value: 335, name: '直接访问' },
               { value: 310, name: '邮件营销' },
               { value: 234, name: '联盟广告' },
               { value: 135, name: '视频广告' }
             ]
           }
         ]
       }
       const myChart = echarts.init(document.getElementById('chart_example'))
       myChart.setOption(option)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org