General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
在echart 4.0版本中,series type 为pie 时,使用startAngle和endAngle设置起始刻度无效,
Expected Behavior
使用pie绘制出半圆环形图
Current Behavior
配置项无效果
Online Example
option = {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b}: {c} ({d}%)"
},
legend: {
orient: 'vertical',
x: 'left',
data:['直接访问','邮件营销','联盟广告','视频广告','搜索引擎']
},
series: [
{
name:'访问来源',
type:'pie',
radius: ['50%', '70%'],
startAngle:0,
endAngle:180,
avoidLabelOverlap: false,
label: {
normal: {
show: false,
position: 'center'
},
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:'搜索引擎'}
]
}
]
};
Topics
Anything Else We Need to Know
Environment
echart 4.2
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
在echart 4.0版本中,series type 为pie 时,使用startAngle和endAngle设置起始刻度无效,
Expected Behavior
使用pie绘制出半圆环形图
Current Behavior
配置项无效果
Online Example
Topics
Anything Else We Need to Know
Environment
echart 4.2
ECharts version;ECharts 版本: {DESCRIBE_HERE}
It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}