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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org