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

[Bug] toolbox.feature.dataZoom.yAxisIndex is not working as mentioned in API document #17663

Closed
amitknit09 opened this issue Sep 16, 2022 · 4 comments
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days.

Comments

@amitknit09
Copy link

Version

5.3.3

Link to Minimal Reproduction

https://codesandbox.io/s/multiple-y-axes-forked-qrb7ll?file=/index.js

Steps to Reproduce

  1. Create a chart with multiple Y-Axis(3 Y-Axis)
  2. I want to use Data area zooming, so I have used "toolbox.feature.dataZoom" option
  3. I want to control the zoom for only 1 Y-Axis.
    toolbox: {
    feature: {
    dataZoom: {
    yAxisIndex: [1]
    }
    }
    }

Current Behavior

Zoom functionality stopped working and it only works if I am giving all 3 axis.

Expected Behavior

Defined yAxis should be controlled.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@amitknit09 amitknit09 added the bug label Sep 16, 2022
@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 Sep 16, 2022
@wmasfoe
Copy link

wmasfoe commented Sep 16, 2022

尝试下默认值 none

yAxisIndex: "none"

@amitknit09
Copy link
Author

尝试下默认值 none

yAxisIndex: "none"

Yes, this will work if I don't want to control specific axis. But here I want to control axis at a specific index.

ZeekoZhu added a commit to ZeekoZhu/echarts that referenced this issue Sep 24, 2022
Copy link
Contributor

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Sep 15, 2024
Copy link
Contributor

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants