设计图

没改之前

实现代码如下:
```
series: [
{
label: {
normal: {
formatter: '{b|{b}}\n {c|{c}人} \n {a|{d}%}',//\n实现换行
rich: {
a: {
color: '#333',
fontSize: 12,
lineHeight: 20
},
b: {
fontSize: 12,
lineHeight: 20,
color: '#333'
},
c: {
fontSize: 12,
lineHeight: 20,
color: '#333'
}
}
}
}
}
]
```
令人头大的echarts配置项,记录一下














网友评论