We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环形图series[i]-pie.label.normal.position 的inside属性无效
1.官方示例:http://echarts.baidu.com/demo.html#pie-doughnut 把20行position属性改为 'inside' label显示在了环形内侧
label在环形区域内显示
不知道
option = { tooltip: { trigger: 'item', formatter: "{a} <br/>{b}: {c} ({d}%)" }, legend: { orient: 'vertical', x: 'left', data:['直接访问','邮件营销','联盟广告','视频广告','搜索引擎'] }, series: [ { name:'访问来源', type:'pie', radius: ['50%', '70%'], avoidLabelOverlap: false, label: { normal: { show: true , position: 'inside', textStyle: { fontSize: '30', fontWeight: 'bold' } }, emphasis: { show: true, textStyle: { fontSize: '30', fontWeight: 'bold' } } }, labelLine: { normal: { show: false } }, data:[ {value:335, name:'直接访问'}, {value:310, name:'邮件营销'}, {value:234, name:'联盟广告'}, {value:135, name:'视频广告'}, {value:1548, name:'搜索引擎'} ] } ] }
The text was updated successfully, but these errors were encountered:
设置成 center
Sorry, something went wrong.
@pissang center是显示在圆的中心,我是要显示在环内,2.0版本还是可以的,3.0就不行了,具体效果请移步: http://www.oschina.net/question/2379500_2150681?fromerr=BZGForgT
@muri9du 了解了,是有点问题,下个版本修复,谢谢反馈
7929239
No branches or pull requests
问题简述 (One-line summary)
环形图series[i]-pie.label.normal.position 的inside属性无效
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
1.官方示例:http://echarts.baidu.com/demo.html#pie-doughnut
把20行position属性改为 'inside'
label显示在了环形内侧
期望结果 (Expected behaviour)
label在环形区域内显示
可能哪里有问题 (What went wrong)
不知道
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: