apache / apache/echarts

[Feature] Control the zoom/drag-to-zoom speed on large data

Open
#17,814 6 comments 10 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Hi,

I wanna ask if there any way to control the speed/sensitivity of the zoom in/out function, because for the large data, its quite hard to zoom to the specific location in the chart.

Thanks

### What does the proposed API look like?

Can we have a props in dataZoom like sensitivity/ speed in order to have more control on zoom function.

For example, adding the speed and sensitivity props like chartjs-plugin-zoom did:
`zoom: { enabled: true, drag: false, mode: "x", speed: 0.1, sensitivity: 0.01 },`

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.