apache / apache/echarts

[Bug] dispatchAction highlight on tree like charts doesn't highlight all matching with name

Open
#20,749 3 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### Version

5.6.0

### Link to Minimal Reproduction

https://codepen.io/javioverflow/pen/yyLLoaM

### Steps to Reproduce

On the demo, every other second it will dispatch a highlight action for `name='foo'`

### Current Behavior

Only one of the two subnodes 'foo' gets highlighted

### Expected Behavior

Both subnodes 'foo' should get highlighted

### Environment

```markdown
- OS: MacOS Sequoia 15.1.1
- Browser: Safari & Chrome
- Framework: Vue@3
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodePen reproduction and the dispatchAction entry point, focusing on highlight handling for tree-like charts. Confirm the case where two subnodes share the name "foo" and consider the work complete when both are highlighted by the action.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.