Skip to content

[Bug] Zooming Y Axes controlled by one dataZoom component when using DataZoom Toolbox feature #20120

@erickmp07

Description

@erickmp07

Version

5.5.1

Link to Minimal Reproduction

https://codesandbox.io/s/9fdg8f

Steps to Reproduce

  1. Open the link to minimal reproduction;
  2. Click on DataZoom feature at Toolbox;
  3. Drag to zoom some chart area.

The gif bellow shows the steps
zoom-bug

Current Behavior

The zoom not correspond the area selected. It happens only when multiple Y Axis is configured to be controlled by one DataZoom Component and when it's using the Toolbox DataZoom feature.
If the zoom is done using the DataZoom Component or the mouse scroll the behavior is as expected.

Expected Behavior

The zoom should correspond the area selected considering that the chart has multiple Y Axis and one DataZoom Component controls both y axes.
The behavior expected is equal to using the DataZoom Component to zoom or the mouse scroll. Both cases the zoom works on both y axes.

Environment

- OS: Windows 10
- Browser: Chrome 125.0.6422.142 (64-bit)
- Framework: JavaScript

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.

    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