Skip to content

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

@292328914

Description

@292328914

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions