echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] : Hover animation on disabled legend item

Open dileepyelleti opened this issue 3 years ago • 3 comments

Version

5.4.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=area-stack

Steps to Reproduce

Click on legend item to disable it. After clicking it shows entire chart as disabled.(When mouse pointer is still on that item)

Current Behavior

On hovering on disabled legend item also all remaining series are shown as disabled.

Expected Behavior

Should remove hover animation on disabled legend and work only if legend item is enabled

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

dileepyelleti avatar Oct 19 '22 09:10 dileepyelleti

This doesn't seem to be a bug. With emphasis: { focus: 'series' }, when hovering on one series, the others are blurred.

Ovilia avatar Oct 20 '22 02:10 Ovilia

This doesn't seem to be a bug. With emphasis: { focus: 'series' }, when hovering on one series, the others are blurred.

It is not a bug and required behaviour if we hover on enabled legend. But why do we need that functionality on disabled legend? Immediately after disabling a series(by clicking legend) mouse pointer stays on disabled legend Item. Then entire chart looks disabled. When users wanted to remove a series then it looks to them that entire chart got disabled.

Screenshot 2022-10-20 at 11 45 16 AM

dileepyelleti avatar Oct 20 '22 06:10 dileepyelleti

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Oct 19 '24 21:10 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Oct 27 '24 21:10 github-actions[bot]