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] Bar charts: add more options for emphasis focus #20723

Open
rooney opened this issue Jan 29, 2025 · 0 comments · May be fixed by #20724
Open

[Feature] Bar charts: add more options for emphasis focus #20723

rooney opened this issue Jan 29, 2025 · 0 comments · May be fixed by #20724
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@rooney
Copy link

rooney commented Jan 29, 2025

What problem does this feature solve?

On stacked bar charts, sometimes I need to emphasize the hovered stack (not just 'self'), e.g:

Image

--
And its series-equivalent:

Image

--
And optionally (for completeness) everything in the hovered dataIndex:

Image

What does the proposed API look like?

{ emphasis: { focus: 'stack' | 'stackSeries' | 'dataIndex' } }

@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 29, 2025
rooney added a commit to rooney/echarts that referenced this issue Jan 29, 2025
@rooney rooney linked a pull request Jan 29, 2025 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

1 participant