apache / apache/echarts

[Bug] DataZoom shadow should reflect the attached values of a stacked chart

Open
#20,511 0 comments 0 reactions 0 assignees View on GitHub
bug en topic: dataZoom
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=doc-example%2Fscatter-dataZoom-all&edit=1&reset=1&version=5.5.1

### Steps to Reproduce

1. deselect all the series from the legend
2. select the first (The shadow reflects the values present in the first)
4. select the second (The shadow still reflects the values present in the first)

No logic applied to avg - sum or any other kind of logic aggregate the data among the selected series

### Current Behavior

The data among the selected series are not aggregated in the DataZoom shadow

### Expected Behavior

Expect that the data is aggregated. Nice to have a function to override the default behaviour

### 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.