apache / apache/echarts

[Feature] Bar charts: add more options for emphasis focus

Open
#20,723 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?

On stacked bar charts, sometimes I need to emphasize the hovered stack (not just 'self'), e.g:

Image

--
And its series-equivalent:

Image

--
And optionally (for completeness) everything in the hovered dataIndex:

Image

### What does the proposed API look like?

`{ emphasis: { focus: 'stack' | 'stackSeries' | 'dataIndex' } }`

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.