apache / echarts

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

[Bug] graphic.elements-rect.shape. r 无法设置矩形圆角 #20283

Open H-Sven opened 1 month ago

H-Sven commented 1 month ago

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=custom-gantt-flight

Steps to Reproduce

设置这个配置无效

image

Current Behavior

如描述

Expected Behavior

如描述

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 1 month ago

@H-Sven 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] graphic.elements-rect.shape. r cannot set rectangular rounded corners
plainheart commented 1 month ago

未复现。Demo

echarts-bot[bot] commented 1 month ago

@H-Sven Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.

H-Sven commented 1 month ago

未复现。Demo

@plainheart

我是通过renderItem函数创建的甘特图中的graphic.clipRectByRect使用r无效, 你可以在官方这个甘特图示例上面尝试加上r属性试试, 不会生效 https://echarts.apache.org/examples/zh/editor.html?c=custom-gantt-flight