Repository navigation
Closed
Labels
Description
Version
5.5.1
Link to Minimal Reproduction
Steps to Reproduce
When the X-axis type is 'time', the bar chart is out of area when zooming in through dataZoom. Is there a configuration that can solve this problem?
Current Behavior
When the X-axis type is 'time', the bar chart is out of area when zooming in through dataZoom. Is there a configuration that can solve this problem?
Expected Behavior
The bar chart beyond the area should be cropped
Environment
- OS:
- Browser:
- Framework:Any additional comments?
No response

Activity
lx980312539 commentedon Oct 15, 2024
Hi @Ovilia , I found a solution. When the amount of data is large, I find that the bar chart is completely cropped. Then I set the 'largeThreshold' to 0, and that met my needs. Do you think this approach is feasible?
helgasoft commentedon Oct 15, 2024
use
dataZoom.filter:'filter'instead of 'none'📌 please close issue if problem solved.
lx980312539 commentedon Oct 16, 2024
Hi @helgasoft ,I've tried this before, but we don't need to filter the scene. The use of 'none' is what we expect and only requires the graph to zoom in and out. It would be too simple if it was just that.

adammark commentedon Dec 13, 2024
I've hit this bug as well and there are no decent workarounds. Using
filterMode: filtermay cause the y-axis to change dynamically without explicitly setting yMin/yMax and/or cause the bars to grow and shrink as the user drags the data, which isn't a great look.refactor&feature:
100pah commentedon May 14, 2026
Fix in v6.1.0