apache / apache/echarts

[Bug] dataZoom issue when zooming on last x value on scatter chart

Open
#20,934 5 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

latest

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=scatter-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurALYTREAMANCemQIYZECMALPabGAJ4gApkQDkANyYAbAK6CR3UngDGU4bwBOskgF8FfHPiJJdJPIPURBhWAG0GxHujx8yAI2CSAyhABeagEx09ugAJkxgTER2jqQ2bNQAdHSwABxJHAC6CjE2adQA7LSwAGwJAJwArFnBsWwAzElF-QkVKdUx6DZlSRVFaSls7R1xbI2pCXV1QzmcY83FxdOOcQ1cJQkDSzxxicmlk1u1HGNpZYvZy2z-LUWlKf6Hnd1svbDNDxfbbKOv74-2DWodSKx38U0-tWu_iaG3BNU612o0Ngxw4-X-cR6RQaBwhnWO1FexzOGNKQJh_kyeNsVzGpX853hNMRfQ2VKZNma1BSRQqGw-HL5SN5CWKbRqh34QlEynCYHMIns2hIQzCEQAWsBgGQjPYpWoRHhJBAQgqLngABbAADuRDAmkECmV2gA3EA

### Steps to Reproduce

1. Go to minimal reproduction link
2. Zoom to last x value (min and max of zoom set to max = 14)

### Current Behavior

Chart x axis shows from 7 to 14 (but not the data in this range)

### Expected Behavior

Chart x axis only shows 14

### Environment

```markdown
- OS: macOS Sonoma
- Browser: Chrome 135.0.7049.96
```

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