-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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] How to highlight both ancestor and descendant nodes of hover simultaneously #20397
Comments
If it's the tree series, you can set |
The sunburst series doesn't support |
This issue is labeled with Please have a look at How to debug ECharts if you'd like to give a try. 🤓 |
You can also implement it on top using mouse events and modifying the itemStyle accordingly. Make sure you set |
Code can be copied from tree (https://github.com/apache/echarts/blob/master/src/chart/tree/TreeView.ts#L488-L492) to sunburst (https://github.com/apache/echarts/blob/master/src/chart/sunburst/SunburstPiece.ts#L154-L157). |
What problem does this feature solve?
Now I have a requirement to highlight both the ancestor and descendant nodes of the current hover, but the configuration item can only be selected as a single option. How can I implement it? Thanks
What does the proposed API look like?
Can a new configuration be added to the configuration item to enable this feature
The text was updated successfully, but these errors were encountered: