apache / apache/echarts

[Bug] moveOnMouseWheel don't work

Open
#16,144 10 comments 3 reactions 1 assignee Claimed by @100pah View on GitHub
bug en
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.2.2

### Link to minimal reproduction

_No response_

### Steps To Reproduce

```ts
dataZoom:{
type: 'inside',
start: 0,
end: 100,
minSpan: 30,
maxSpan: 100,
moveOnMouseWheel: false
}
```
### Current Behavior

When the line chart is scaled to a certain extent by the scroll wheel, you can also use the scroll wheel to pan it.

### Expected Behavior

I want the scroll wheel not to shift the line chart.

### Environment

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

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