apache / apache/echarts

[Feature] a new Configuration for tooltip.trigger

Open
#20,612 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, there are two levels of configuration for the tooltip.tragger configuration item, which are "item" and "axis". Now let's assume a scenario where we use a stacked column chart of groupings, with several bars in a group and stacked items on one bar. If you use Axis, the tooltip shows the stacked block information for all bars, and if you use Item, it can only display the stacked block information. Why can't we design a hierarchy that displays stacked block information on a column?
(Of course, there is no problem with using axis, but it is not the best choice for stacked histograms with a large amount of data)
![屏幕截图(200)](https://github.com/user-attachments/assets/e75fd5ea-e0b3-446c-945d-272231c2fe45)

### What does the proposed API look like?

a new Configuration for trigger

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.