Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Is there a way to make other graphic elements into blur state when highlight multiple series ? #20720

Open
alexqlyu opened this issue Jan 27, 2025 · 3 comments
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@alexqlyu
Copy link

What problem does this feature solve?

When I highlight some graphic elements in multiple series or select one graphic element, I want to mute other graphic elements in order to visually distinguish between selected and unselected graphic elements.
I tried using dispatchAction({ type: 'highlight' }), but the options (emphasis.focus = 'none'/'self'/'series') can not mute the others in multiple series. And I tried using dispatchAction({ type: 'select' }), no options to mute the others.

What does the proposed API look like?

Add dispatchAction({ type: 'blur' }) to mute graphic elements.

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jan 27, 2025
@helgasoft
Copy link

did you try with graphic opacity ?

@alexqlyu
Copy link
Author

did you try with graphic opacity ?

In one series (eg. series-bar),I hope some bars are shown using normal item style, the others are shown using blur item style. But the series-bar.itemStyle.opacity option only impact the whole series.

@gurelsoycaner
Copy link

I'm using angular 19 and getting this,
echarts error Renderer 'undefined' is not imported

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

3 participants