Skip to content

[Bug] Marklines disappear when zoom-in #19055

Closed as not planned
Closed as not planned

Description

@electroheadfx

Version

5.4.3

Link to Minimal Reproduction

https://codesandbox.io/s/basic-line-chart-forked-x638tn?file=/index.html

Steps to Reproduce

Zoom-in with slider dataZoom the markLines disappear.

You can test here: echarts markLine with dataZoom

Current Behavior

filterMode: 'none' seem to be ignored by markLine.

Expected Behavior

I'd like to have markLine never hide, just zoom with the slider.

Environment

- OS: MacOS 12.6.3
- Browser: Safari
- Framework: echarts player

Any additional comments?

No response

Activity

  1. added
    en
    pending
    on Aug 29, 2023
  2. helgasoft commented on Aug 29, 2023

    @helgasoft

    Yes, clipping is valid for parent line but does not extend to its children marklines.
    A workaround in your case could be to do it all with lines - Demo Code.

  3. electroheadfx commented on Aug 29, 2023

    @electroheadfx
    Author

    thanks @helgasoft to reproduce the equivalent with line. Should close this ticket ? because its not a bug but more a missing feature?

  4. electroheadfx commented on Mar 25, 2024

    @electroheadfx
    Author

    Hey, I would like re-open this ticket because I really need markLine.
    Based on this exemple, is it possible to avoid the markLine hide when I zoom in on the x axis ?
    the test exemple

  5. helgasoft commented on Mar 25, 2024

    @helgasoft

    As I said, workaround is with lines only. Bridge icon could be set as markPoint - Demo
    Of course it's not perfect, but it might work in your case.

    image

  6. github-actions commented on Mar 25, 2026

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

  7. added
    stale
    on Mar 25, 2026
  8. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

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

    bugenpendingstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions