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
请问如何将echarts的环形图设置成圆角?
环形图设置成圆角
option = { color:_that.color, title: { text: _that.title, top:'3%', left:'1%', textStyle:{ color: '#333', fontStyle: 'normal', fontWeight: 'normal', fontFamily: 'sans-serif', fontSize: 16, }, }, series: [{ name: '来源', type: 'pie', radius: ['60%', '75%'], avoidLabelOverlap: false, hoverAnimation:false, label: { normal: { show: false, position: 'center', textStyle: { fontSize: _that.fontSize, fontWeight: 'bold', color:'#fff', }, formatter:'{c}' } }, data: [{ value: _that.value, name: _that.name, itemStyle:{ emphasis: { barBorderRadius: 7 }, normal:{ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ //颜色渐变函数 前四个参数分别表示四个位置依次为左、下、右、上 offset: 0, color: colorArr[i][0] }, { offset: 1, color: colorArr[i][1] }]) } }, label:{ normal:{ show:true } } }, { value: 100-_that.value, name: '' } ] }] }
想从基础的第一张图片红圈里的样式改变为第二张图片红圈里的圆角样式,如何实现?谢谢!
The text was updated successfully, but these errors were encountered:
m
Sorry, something went wrong.
+1
+1 mark
统一关注 #4856 吧,这里先关了
No branches or pull requests
One-line summary [问题简述]
请问如何将echarts的环形图设置成圆角?
Version & Environment [版本及环境]
Expected behaviour [期望结果]
环形图设置成圆角
ECharts option [ECharts配置项]
Other comments [其他信息]
想从基础的第一张图片红圈里的样式改变为第二张图片红圈里的圆角样式,如何实现?谢谢!
The text was updated successfully, but these errors were encountered: