echarts icon indicating copy to clipboard operation
echarts copied to clipboard

feat(legend): add legendmouseover legendmouseout event (#18144)

Open sz-p opened this issue 3 years ago • 3 comments

Brief Information

This pull request is in the type of:

  • [ ] bug fixing
  • [x] new feature
  • [ ] others

What does this PR do?

add legend event legendmouseover legendmouseout

Fixed issues

#18144

Details

Before: What was the problem?

Stop data carousel when mouse hover on legend must customizing legend elements with HTML

see demo:

https://codepen.io/plainheart/pen/xxJRdam

After: How does it behave after the fixing?

Stop data carousel with legend event legendmouseover legendmouseout

see demo:

https://stackblitz.com/edit/js-q9vzb5?file=index.js

Document Info

One of the following should be checked.

  • [ ] This PR doesn't relate to document changes
  • [x] The document should be updated later
  • [ ] The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • [ ] Please squash the commits into a single one when merging.

Other information

sz-p avatar Jan 11 '23 08:01 sz-p

Thanks for your contribution! The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Document changes are required in this PR. Please also make a PR to apache/echarts-doc for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the PR: awaiting doc label.

echarts-bot[bot] avatar Jan 11 '23 08:01 echarts-bot[bot]

Hello, could someone go forward on this ?

Edit: I succeed to "bypass" my issue by subscribing to "highlight" and "downplay" events (kind of hard to guess).

oom- avatar Oct 09 '24 20:10 oom-

Waiting for review

sz-p avatar Oct 10 '24 01:10 sz-p

The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-18164@87561ee

github-actions[bot] avatar Mar 17 '25 11:03 github-actions[bot]

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

echarts-bot[bot] avatar Mar 27 '25 10:03 echarts-bot[bot]