apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser

Home Page:https://echarts.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Sankey chart - after using setOption in mouseover event handler, node highlight stops working

cp548 opened this issue · comments

commented

Version

5.5.0

Link to Minimal Reproduction

https://codesandbox.io/s/basic-sankey-forked-c8dvs5?file=/index.js

Steps to Reproduce

i'm trying to update the node labels on hover, try setoption in mouseover event handler

Current Behavior

after using setoption in mouseover event handler, it stops highlighting the nodes and related links

Expected Behavior

highlight should work

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

It seems node highlight is the default mouseover behavior. If you overwrite mouseover then the default functionality is lost.

commented

@helgasoft
it is working fine if we do overwrite the mouseover behaviour, but after adding the setoption , it stops working