Skip to content

bug: clipping of lines series with dataZoom #10748

Closed

Description

@eniaclyl

Version

4.2.1

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xCb_Xl7Zz9&comment=0

Steps to reproduce

放大后超出坐标轴的部分不会裁剪

What is expected?

超出坐标轴的部分应该裁剪

What is actually happening?

不会裁剪

Activity

  1. echarts-bot commented on Jun 26, 2019

    @echarts-bot

    Hi! We've received your issue and please be patient to get responded. 🎉
    The average response time is expected to be within one day for weekdays.

    In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

    Have a nice day! 🍵

  2. added
    pending
    on Jun 26, 2019
  3. eniaclyl commented on Jun 27, 2019

    @eniaclyl
    Author

    有人帮我看看吗?提了几个类似的问题都给我关闭了,说我提的是相同的问题,你倒是告诉我答案呀!!!

  4. susiwen8 commented on Jun 27, 2019

    @susiwen8
    Contributor

    因为我也不知道答案

  5. eniaclyl commented on Jun 27, 2019

    @eniaclyl
    Author

    那你能给反馈下吗,我查过很多别人以前提的问题,散点图也有类似的bug,是不是除了线图只要使用笛卡尔坐标系都会有这个问题呀,能否告诉我在什么时候修复这个问题吗?我这个是国家电网的项目会用到你们的库

  6. susiwen8 commented on Jun 27, 2019

    @susiwen8
    Contributor

    我觉得可能是datazoom的问题,不是坐标系的问题,具体还得排查。什么时候修复就不清楚了。着急用的话个人建议先不要使用datazoom。

  7. eniaclyl commented on Jun 27, 2019

    @eniaclyl
    Author

    你这么说就确定是bug喽?如果不使用datazoom怎么缩放呀,我刚接触这个库不久,能否指点下?

  8. susiwen8 commented on Jun 27, 2019

    @susiwen8
    Contributor

    @Ovilia 你能指点下吗?

  9. added and removed
    pending
    on Jun 27, 2019
  10. eniaclyl commented on Jun 27, 2019

    @eniaclyl
    Author

    @Ovilia 大神出来指点下呗,我给你写邮件也没回我 :(
    或者告诉我计划什么时候修复这个bug也行呀,让我心里有个数。多谢

  11. Ovilia commented on Jun 28, 2019

    @Ovilia
    Contributor

    这个是 bug,比较难修,跟 #10646 是一样的问题。
    修复的基本想法是,对 grid 区域提供一个 clip 操作,如果图形完全超出了 grid 范围,则完全不绘制(而不是用 clipPath 裁剪掉),如果一半在里面一半在外面,则 clipPath 一下。

  12. eniaclyl commented on Jul 1, 2019

    @eniaclyl
    Author

    @Ovilia 请问这个bug在什么时候会修复呀?下个版本吗?有没有具体修复日期和计划?

  13. eniaclyl commented on Jul 3, 2019

    @eniaclyl
    Author

    @Ovilia 大神能否告诉我啥时候修复这个问题吗?多谢!

  14. eniaclyl commented on Jul 13, 2019

    @eniaclyl
    Author

    @susiwen8 请问可以帮我问问什么时候修复这个不裁剪的bug吗 这关系到我们的项目是否使用echarts 谢谢

  15. Ovilia commented on Jul 13, 2019

    @Ovilia
    Contributor

    @eniaclyl 暂时没法安排排期,如果紧急可以自行用 hack 的方式解决

  16. eniaclyl commented on Jul 15, 2019

    @eniaclyl
    Author

    @Ovilia 请问能说说具体怎么做吗,或者给个例子也行,我是搞c++的不太懂web,我看github上很多人也问这个问题,你留个方法也方便以后的人使用,多谢了

  17. self-assigned this
    on Jul 31, 2019
  18. changed the title [-]严重bug[/-] [+]bug: clipping of lines series with dataZoom[/+] on Sep 4, 2019
  19. added this to the TBD milestone on Sep 4, 2019
  20. modified the milestones: TBD, 4.4.0 on Sep 17, 2019
  21. assigned and unassigned on Sep 17, 2019
  22. pissang commented on Sep 17, 2019

    @pissang
    Contributor

    Added clip option for lines series in the commit 94dfc92 . It will be included in version 4.4.0

    Here is the screenshot after fixed.
    image

  23. eniaclyl commented on Sep 17, 2019

    @eniaclyl
    Author

    @pissang 多谢

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions