apache / apache/echarts

[Feature] add emphasis config for all relative data

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

Description

### 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',
},
```

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.