Skip to content

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

@amitknit09

Description

@amitknit09

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions