echarts [Bug] Marklines disappear when zoom-in

ttcibm8c  于 4个月前  发布在  Echarts
关注(0)|答案(4)|浏览(52)

Version

5.4.3

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

rseugnpd

rseugnpd1#

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 .

2fjabf4q

2fjabf4q2#

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

1hdlvixo

1hdlvixo3#

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

neekobn8

neekobn84#

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.

相关问题