echarts [Feature] 图例的mouseover和mouseout事件监听

ni65a41a  于 2022-11-02  发布在  Echarts
关注(0)|答案(2)|浏览(512)

What problem does this feature solve?

希望提供图列的鼠标悬浮事件监听,以便满足设计要求,查看文档API,尝试使用 chart.on('mouseover', 'legend', function () {...})并不生效

What does the proposed API look like?

chart.on('mouseover', 'legend', function () {...})希望生效

deikduxw

deikduxw1#

@anyanyan07 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

[Feature] The mouseover and mouseout event listeners of the legend

BODY

What problem does this feature solve?

I hope to provide the mouse hover event monitoring of the chart column to meet the design requirements, check the documentation API, try to use chart.on('mouseover', 'legend', function () {...}) does not work

What does the proposed API look like?

chart.on('mouseover', 'legend', function () {...}) hope to take effect

nr9pn0ug

nr9pn0ug2#

目前是没有相关事件的,只有和 select 相关的,如果确实有需要的话可以提 PR 支持一下

相关问题