[Bug] DataZoom 会使 axis breaks 的数据不可见
Version
6.0.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=custom-profit&code=MYewdgzgLgBKA2IBOAZAltGBeGBtAUDDAOQDEALAGYAcAjAEYAmxANISacAAwCsX5zNkTIBOeuJ4jW7MgDZ-AQwDs9acNIjy1BT3JqOAU3Kzuq_AF0A3PlCRYjBVAXY87XLS4sYtWV4DMXsQAgsTmQng-XrTUUXyBAEKh4e4xMABMvt5pgQDCSW4Z_tnpxcQAIvlEuH7FPJlKgQCilXh1XrLFtA0kAGKhFgB0ALYKAA4AFJQArmDAUGjgMONoUAZDXmhgjAYAHgCUMADe7EgGUFNIYEfsRABuCvBTBgBcMCtr4UTvQwDKUACe8Be1yIoLgIEQSFeCGQ6GguE22x25huMAAvuw0dY0XtrCBRvNFjhjkR5lAga8SaDVjsoK9iAAFJAgSgrfREIGUOkkYAGMCrJDETHhBxOABaIBAQ1eBDBVLBANGwOIEHgaG2gs-oP-QR2GAAkltdjKuGFUURWfABQBZEDbelgcAGdmg-AKegGeA9ZAjKAC-lCsForXy6n_JX0zYQdXOrVEHV6iCGpEms1gi1oK0GJC2-0kR1gZ2ojFENMwADmSHVlNRUHxr08qPoID9UteHi1nO5XGF7DrEPmo0pwfYO11GBrYIgwAewKgSCevfj44gk9B9FOCgA1qvXOmQfuYNAFEhuX5G4eYHzGO3yD39yXQSiiCOiBBs2gDLvZaDQ6Tw8qwBTNAUoukQwBqkOMDzk8cYwKcRpIPqqzSjA0yzISVzjKMJ4KEMEBeGMaAHH-oL3EgMD_AAag8TwuERAz3I8BjjGkuLmmRJ5Hk4p70aMaADKAyCMOMuAMUxTzjFwexeNRtEGOY7GXuRR5oAAXgYfECdGGmieJ8njLQBwALQwPpzFSTJlE0cxinWMpXHQICmk4AxTlAuMSmHqc5yXAel6KsqpxzGB6YQAAFmMwKkfuOyvMep64KacH7v88U8VA7hlpeRAAO7qlA4XxepBhJdlOXhQYaDluF3I6aVtDPjlr45e5wJtRxL72emLVgm6HrwGu-4RSAuWvDBBgpTAowgNGmH0nWoyBj1cGMGgQx8tG4DfsQlDMkMrAkHWh3EKMzKslALRgnyoB5jFMBxXgnjeOVYJpekU39laaBQUlUReGkr2gt8AByeHAn4HG9aCooKK8sPFuwKJYkAA
Steps to Reproduce
- 将 dataZoom 放大
- 拖动 dataZoom 到断轴的位置
Current Behavior
数据不可见
https://github.com/user-attachments/assets/50c27ad2-7e91-49c5-856a-4ec3f1357a4b
Expected Behavior
数据可见
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
请问有规避的方法吗?
@sakura-flutter 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] DataZoom causes data in axis breaks to become invisible
Yes, dataZoom with filterMode: 'none' should pan bar B in its entire length without gaps.
There is another bug when clip:false (default) - the bottom of long bar B starts under 0. In the absence of yAxis.breaks, bar B begins at 0 as usual.
This dataZoom issue exists in the official bar chart example too - Demo.
https://github.com/user-attachments/assets/c962ec12-cf8e-4e1c-8acc-17c1f31d9005
Thank you for your response. I've since realized that this issue is quite tricky because, within the range filtered by dataZoom, the y-axis is rendered as blank sections (axis breaks). Perhaps there is no way to make them work together compatibly. 🤔
I got the same problem with a line graph this example is also broken. (a bit less, though) https://echarts.apache.org/examples/en/editor.html?c=intraday-breaks-1