apache / apache/echarts

[Bug] 通过xAxis.axisTick.interval控制刻度展示和实际展示效果不一致

Open
#20,424 4 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

5.5.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-smooth&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXLANprrJnmxgCeIApkQOQDGAhmPQObABONTADSVyAEw5sixJgFkYQ2EwAqAV3oKmAdXqiNSgBYqmAXREBfYVVRV0tBs3ace_ISPTiwkkkz1qN_40sbEGA8CEgYZgAjYDAwYABbVxtYYAAzNLx6MCIARgAGIKo2XDwAGQhoRgoU9Dx9YAB3IjS2ABsst1gLLpL8MrYo-jaia1q0vgSOTl5mAB1oBaQAN3a1MyYunpS-vCUIFgBrUa66hubqXjUim0qZ1ZHYAAoAfQhBWGWASgQAPhraugWDA8MA2vQAHRtYBcJ7LD5vD7LBDwRDKPxfADcp3IvGyKl4cGRqLRqnU2MB21q4OgXDA-iIAGYAKxbcxkQJkGg4fAnKh2apMB5-MhUrK8CD0QgkERjKgeLzEAAcACZCrAAJyMlUfDX5XK6xkAFk5KQFzDalXUNzqCWAsQZlzU7PQpjMmKAA

### Steps to Reproduce

详情请参考最小复现

### Current Behavior

第二条刻度线的第一个刻度应该从第二个点开始展示

### Expected Behavior

第二条刻度线的第一个刻度从第一个就开始展示了

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked ECharts minimal reproduction and inspect how xAxis.axisTick.interval is applied to the second axis. Compare the rendered tick positions with the issue's expected behavior, clarifying the contradictory current and expected descriptions before defining the fix and regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.