apache / apache/echarts

[Bug] jitter not working in Y Axis Config

Open
#21,728 3 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### Version

6.1.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=scatter-simple&code=yy8oyczPU7BVqOZSUKhwrMgstgIzFRRKKgtSrRTUkxNLUtPziyrVdcCiKYkliVYK0eqJ6rFAfi1IsJJ4XRUV6rEQkazMkpLUIisFYwMDmDnFqUWZqUCDosEKIMYBRStzk_JzgjOrgMYaGUA0ww2E8kAA5CQdkAU6hlAr0MWNRsUHiTicAU0txcDkAkwN6mDRWiAZy1VrDQA&enc=deflate

### Steps to Reproduce

```js
option = {
xAxis: {
type: 'category',
data: ['a'],
jitter: 300
},
yAxis: {
type: 'category',
data: ['xx'],
jitter: 300
},
series: [
{
symbolSize: 20,
data: [
['a','xx',1],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
['a','xx',2],
],
type: 'scatter'
}
]
};

```

### Current Behavior

散点y轴没随机偏移

### Expected Behavior

散点y轴随机偏移

### Environment

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

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal reproduction and trace how jitter is applied to category axes in the scatter chart. Compare the x-axis and y-axis behavior for the supplied configuration. Done means repeated points receive random y-axis offsets while preserving the expected scatter layout.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.