apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.18k stars 19.61k forks source link

[Bug] pie饼图点击当前扇形半径变大 #19209

Open surongm opened 11 months ago

surongm commented 11 months ago

Version

"echarts": "^5.4.2", "echarts-for-react": "^3.0.2",

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=pie-rich-text

Steps to Reproduce

官方案例

Current Behavior

鼠标悬浮的时候饼图半径会变大 image

点击的时候可以设置offset image

Expected Behavior

现在想要 点击的时候 当前选中的扇形半径变大 有没有这样的方法可以实现

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 11 months ago

@surongm It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] pie chart click the current fan radius becomes larger **BODY** ### Version "echarts": "^5.4.2", "echarts-for-react": "^3.0.2", ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?c=pie-rich-text ### Steps to Reproduce official case ### Current Behavior The radius of the pie chart will increase when the mouse is hovered ![image](https://github.com/apache/echarts/assets/41141486/06331f2a-fc98-4958-96a7-332e2fd6fda4) Offset can be set when clicking ![image](https://github.com/apache/echarts/assets/41141486/2b221350-0d0f-4150-8877-669cb485c1da) ### Expected Behavior Now I want to make the radius of the currently selected sector larger when I click it. Is there any way to achieve this? ### Environment ```markdown - OS: -Browser: - Framework: ``` ### Any additional comments? _No response_