Skip to content

[Bug] DataZoom x-range missmatch #18789

Open

Description

@martingrumbt

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=CYQwLiCMAEC80G0BQ1GQGwA52QKwHYAmABlOJgBpiBdC6FNLHAksw6K2-1BDbPImWIBmDpFJcGvJgNakALBxp0G1ANxJQEdvGQ8-zQWXRLJ-mSyH4xElef6WymU3cYOjpAJwvu0dUiQAewAHMABLQIA7OGgAbwYAGwBTAHMkyOAALjiAXwoGLRAALUDAgFtsvVQ4hmroMABPYKTsgHIAZwSw4CSAJ1b8utR2gAtAgHdssF6AVyTBofaIXrBs4gW69KzocXXa6BzVBYAPAEFjsPbs-LrG5rbwsqTWhjyGBvPL6_27luhWgBuIAScwGrwW7T6YSSV0Q-xuQ0iICebQAyoEZr0AMZJHZgob1Jp_VpdSLPDbVQrZQqQCmoEC9JIgVGNZLXQ51N51BF1JEo_7ozE46CEfFDX5tUnk_aoKnQQqEOnQBlMlkNNm5fYcvz5HJqIA

Steps to Reproduce

  1. Add two series of type [time, value] with different ranges of x/time values
  2. configure x axis as time
  3. add dataZoom as slider

Current Behavior

  • dataZoom shows only the x range of the first series
  • graph is correct
  • e.g. a peak on dataZoom preview is not at the position of the graph
  • when second series is hidden, the dataZoom is correct

x_range_data_zoom
x_range_data_zoom_single

Expected Behavior

  • dataZoom start and end is set to the min/max over all data
  • dataZoom shows a union over all series (nice to have)

Environment

- OS: all
- Browser: all
- Framework: official editor /  [email protected]

Any additional comments?

I ran into this issue while showing a lot of line series with characteristic gaps and peaks, when choosing exact start and end of a peak/gap.

Activity

  1. added
    en
    pending
    on Jun 21, 2023
  2. Ovilia commented on Jun 25, 2023

    @Ovilia
    Contributor

    Please follow #17143

  3. added and removed
    pending
    on Jun 25, 2023
  4. github-actions commented on Jun 24, 2025

    @github-actions
    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.

  5. added
    stale
    on Jun 24, 2025
  6. martingrumbt commented on Jun 25, 2025

    @martingrumbt
    Author

    @Ovilia Any updates on the DataZoom bugs? Let me know if you need any assistance or clarification.

  7. removed
    stale
    on Jun 25, 2025
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

    bugentopic: dataZoom

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions