echarts饼图 图表圆角去除
时间: 2023-10-07 16:11:33 浏览: 103
处理图片的圆角
要去除echarts饼图的圆角,可以通过设置series中的itemStyle属性来实现。在itemStyle中,设置emphasis属性的borderRadius为0,即可去除饼图的圆角效果。具体代码如下所示:
```
series: [{
type: 'pie',
data: [
// 数据项
],
itemStyle: {
emphasis: {
borderRadius: 0
}
}
}]
```
这样设置后,饼图将不再有圆角效果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [echarts的饼状图、圆环图、南丁格尔图、散点图、数据转换、](https://blog.csdn.net/m0_68618659/article/details/126472464)[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_1"}}] [.reference_item style="max-width: 50%"]
- *3* [ECharts](https://blog.csdn.net/small_rain_/article/details/109319213)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文