echarts饼图label字体颜色设置并且居中显示
原文出处:https://blog.csdn.net/memeda61/article/details/78491636 label: {normal: {// formatter: '{a|{a}}{abg|}\n{hr|}\n{b|{b}:}{c}{per|{d}%}',...
·
原文出处:https://blog.csdn.net/memeda61/article/details/78491636
label: {
normal: {
// formatter: '{a|{a}}{abg|}\n{hr|}\n {b|{b}:}{c} {per|{d}%} ',
formatter: '{a|{b}}\n{hr|}\n{per|{d}%}',
rich: {
a: {
color: '#999999',
fontSize: 11,
lineHeight: 20,
align: 'center'
},
hr: {
width: '100%',
height: 0,
alien:'center'
},
per: {
color: '#000000',
align: 'center',
fontSize: 15,
}
}
},
},
更多推荐
已为社区贡献129条内容
所有评论(0)