apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

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

Open gabrosys opened 1 week ago

gabrosys commented 1 week ago

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)
  3. 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