Skip to content

[Bug] mouseover in scatter fails after dataZoom when large is true #19469

Open

Description

@mschoneman

Version

5.4.3

Link to Minimal Reproduction

https://codesandbox.io/s/echarts-datazoom-bug-with-large-true-j2j86j?file=/index.js

Steps to Reproduce

run the attached reproduction, then zoom in using the mouse wheel. After very few zoom in actions, the mouse over will stop working for the orange series. Zooming in more will cause other series to stop working. Commenting out large: true on line 33 will fix this, but slows things down considerably (esp for even larger data sets)

Current Behavior

Mouse over stops working

Expected Behavior

Mouse over continues to work when zoomed

Environment

- OS: Windows 11
- Browser: Edge
- Framework: none

Any additional comments?

No response

Activity

  1. added
    en
    pending
    on Jan 4, 2024
  2. helgasoft commented on Jan 5, 2024

    @helgasoft

    Add tooltip:{} to test mouseover and try either:

    • large: true, largeThreshold: 99999999, without any progressive
    • progressive: 3333 without large and largeThreshold

    to see if performance is acceptable

  3. mschoneman commented on Jan 8, 2024

    @mschoneman
    Author

    Keeping large: false and adding progressive: 3333 makes everything work. Business doesn't love the pop-in of the extra bits, but I'm calling it good enough. I haven't been able to dive into the code enough to figure out why the behavior changes after you zoom in. Seem like all the mouse over stuff works before you zoom, so there may still be a bug here, but it's not blocking me.

  4. helgasoft commented on Jan 27, 2025

    @helgasoft

    bug confirmed, zooming low largeThreshold series - certain series missing tooltip on hover - Demo

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

    bugenpending

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions