Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Implement mobile dataZoom-Inside to horizontally scale only the xAxis with gestures and vertically scale only the yAxis with gestures. #19732

Open
kood-2008 opened this issue Mar 19, 2024 · 0 comments · May be fixed by #19835
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@kood-2008
Copy link

What problem does this feature solve?

when touches and moved with two fingers in coordinates on touch screens and I set the properties in the code as follows
dataZoom: [ { ...type: "inside",xAxisIndex: [0], ... }, { ... type: "inside",yAxisIndex: [0], ...},],

Using gestures will cause both xAxis and yAxis to scale simultaneously.
I want to Implement mobile dataZoom-Inside to horizontally scale only the xAxis with gestures and vertically scale only the yAxis with gestures.

What does the proposed API look like?

Provide a boolean value for an object to choose whether gestures bind to both xAxis and yAxis simultaneously or separately bind to xAxis or yAxis with different gestures.

@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Mar 19, 2024
WZY009 pushed a commit to WZY009/echarts that referenced this issue Apr 15, 2024
@WZY009 WZY009 linked a pull request Apr 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant