apache / echarts

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

[Bug] 多个series会造成缩略轴显示异常(Multiple series can cause abnormal display of dataZoom) #20032

Open liqiuqiui opened 3 months ago

liqiuqiui commented 3 months ago

Version

5.5.0

Link to Minimal Reproduction

demo

Steps to Reproduce

demo

Current Behavior

当前的缩略轴是使用第一个series的数据生成,当图形由多个series组合的时候(如:堆积图折柱混合图),缩略轴的显示和实际图形的趋势对应错误

The current dataZoom is generated using the data from the first series. When the graph is composed of multiple series (such as stacked graphs, mixed column graphs), the display of the dataZoom corresponds incorrectly to the trend of the actual graph

Expected Behavior

缩略轴中可以把堆积图的数据聚合起来显示整体趋势,多个图形的情况也可以显示多个趋势

The dataZoom can aggregate the data of stacked graphs to display the overall trend, and multiple graphs can also display multiple trends

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 3 months ago

@liqiuqiui It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] Multiple series will cause the thumbnail axis to display abnormally
helgasoft commented 3 months ago

is this about dataZoom DataShadow? if yes, this is a duplicate of #18731, #18790, etc. PR is pending #17143

liqiuqiui commented 3 months ago

is this about dataZoom DataShadow? if yes, this is a duplicate of #18731, #18790, etc. PR is pending #17143

yes, same problem