echarts 饼图 中 显示数值
时间: 2023-10-25 21:26:45 浏览: 140
在echarts饼图中,可以通过设置label属性来显示数值。在给series配置项设置label属性时,可以设置normal属性来控制数值的显示方式。通过设置normal的show为true,数值就会在饼图的内部显示出来。同时,还可以通过设置formatter属性来格式化数值的输出,比如将数值以百分比形式显示出来。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [ECharts 饼图](https://download.csdn.net/download/weixin_38691970/13682249)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [ECharts 饼图数据放在饼图内部显示](https://blog.csdn.net/sunshineGGB/article/details/122563619)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文