echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] series.bar.roundCap属性,不支持setOption动态修改

Open 292328914 opened this issue 1 year ago • 1 comments

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=polar-roundCap&reset=1&edit=1

Steps to Reproduce

https://echarts.apache.org/examples/zh/editor.html?c=polar-roundCap&reset=1&edit=1 这是官网上的例子, Snipaste_2024-12-09_14-33-42 当修改配置中的任意属性时,右侧图表都会实时显示出来,而roundCap属性就不生效,必须点击运行按钮,才会生效。

我遇到的场景跟这个是类似的,监听option的变化,option变化后,执行setOption方法去重新渲染echarts,可是却没有生效(只有roundCap属性不生效),与官网上的bug应该是同样的原因导致的

Current Behavior

https://echarts.apache.org/examples/zh/editor.html?c=polar-roundCap&reset=1&edit=1 这是官网上的例子, Snipaste_2024-12-09_14-33-42 当修改配置中的任意属性时,右侧图表都会实时显示出来,而roundCap属性就不生效,必须点击运行按钮,才会生效。

我遇到的场景跟这个是类似的,监听option的变化,option变化后,执行setOption方法去重新渲染echarts,可是却没有生效(只有roundCap属性不生效),与官网上的bug应该是同样的原因导致的

Expected Behavior

希望执行setOption后,可以正确的渲染roundCap

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

292328914 avatar Dec 09 '24 06:12 292328914

@292328914 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] series.bar.roundCap property does not support dynamic modification by setOption

echarts-bot[bot] avatar Dec 09 '24 06:12 echarts-bot[bot]