-
Notifications
You must be signed in to change notification settings - Fork 19.8k
[Bug] series.bar.roundCap属性,不支持setOption动态修改 #20567
Copy link
Copy link
Closed
Labels
Description
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
这是官网上的例子,

当修改配置中的任意属性时,右侧图表都会实时显示出来,而roundCap属性就不生效,必须点击运行按钮,才会生效。
我遇到的场景跟这个是类似的,监听option的变化,option变化后,执行setOption方法去重新渲染echarts,可是却没有生效(只有roundCap属性不生效),与官网上的bug应该是同样的原因导致的
Current Behavior
https://echarts.apache.org/examples/zh/editor.html?c=polar-roundCap&reset=1&edit=1
这是官网上的例子,

当修改配置中的任意属性时,右侧图表都会实时显示出来,而roundCap属性就不生效,必须点击运行按钮,才会生效。
我遇到的场景跟这个是类似的,监听option的变化,option变化后,执行setOption方法去重新渲染echarts,可是却没有生效(只有roundCap属性不生效),与官网上的bug应该是同样的原因导致的
Expected Behavior
希望执行setOption后,可以正确的渲染roundCap
Environment
- OS:
- Browser:
- Framework:Any additional comments?
No response
Reactions are currently unavailable