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] add emphasis config for all relative data #20715

Open
ksbaozi opened this issue Jan 24, 2025 · 0 comments
Open

[Feature] add emphasis config for all relative data #20715

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

Comments

@ksbaozi
Copy link

ksbaozi commented Jan 24, 2025

What problem does this feature solve?

Currently, the focus adjacency in the emphasis can only highlight single-level data nodes.
I hope to achieve highlighting of its ancestor and descendant nodes simultaneously, and I wish there could be such a configuration.
example:
current:A->B->C->D->E,when i hover C only B & D will be highlight
what i want:when i hover C ABCDE will all be highlight

What does the proposed API look like?

emphasis: {
      focus: 'xxxx',
    },
@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 24, 2025
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

1 participant