apache / apache/echarts

Tree view hover issue when using polyline with focus: descendant

Open
#20,136 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=tree-polyline

### Steps to Reproduce

In the example chart provided, you can see the problematic behavior.

### Current Behavior

When hovering a node using the regular edges with focus: descendant, all nodes and edges below are highlighted. But, if you use the edgeShape: polyline with the same focus: descendant, only the child nodes and their edges are highlighted, but the edges to the children are left out.

### Expected Behavior

All edges below the hovered node should be highlighted.

### Environment

_No response_

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.