(此文档仅供参考)
问题
Echarts环形图如何将某一数据标签显示在环形中间并修改标签样式?
解决方案
在环形图加上以下扩展属性。
代码块 |
---|
{ "series": [{ "data": [{}, { "label": { "normal": { "show": true, "position": "center", "textStyle": { "fontSize": "30", "fontWeight": "bold" } } } }] }], "color": ["#ffffff", "#004151", "#00B7BF", "#F9334C", "#FFAF00", "#004151", "#00B7BF", "#F9334C"] } |
...