Skip to content

[Bug] Emphasis state not cleared properly with zlevel and dataZoom, causing residual highlights #21131

Open

Description

@wulimao49

Version

5.6.0

Link to Minimal Reproduction

https://stackblitz.com/edit/vitejs-vite-o5njrr4h

Steps to Reproduce

zLevel.mov
zoom.mov

Current Behavior

  1. When a series has a custom zlevel, moving the mouse into the chart area can cause a residual emphasis effect to remain visible on some elements, even after the mouse has moved away.

  2. When zooming using dataZoom and simultaneously moving the mouse, a large number of elements can retain their emphasis state, resulting in many incorrect highlights.

Expected Behavior

The emphasis state should be cleared correctly.

Environment

Any additional comments?

No response

Activity

  1. helgasoft commented on Aug 27, 2025

    @helgasoft

    I dont think zlevel is involved. The data is too large for fast redraw like scale:5. Try 50 points (vs 5000) and everything works.
    You may experiment with settings large, largeThreshold or progressive, but their purpose is a bit different.

    Actually animation:false will help on the axis tooltip emphasis, but not on the dataZoom - Demo
    I added this issue in # 5 in the dataZoom problem list #20392.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions