Skip to content

在图表外层添加了css的zoom属性后鼠标移动或点击触发的事件的位置都发生了偏移 #3511

Closed

Description

@ZeroBinbin

问题简述 (One-line summary)

在图表外层添加了css的zoom属性后鼠标移动或点击触发的事件的位置都发生了偏移

版本及环境 (Version & Environment)

  • ECharts 版本 (3.x):
  • 浏览器类型和版本 (Chrome/46.0.2490.80 m):
  • 操作系统类型和版本 (windows7):

重现步骤 (Steps to reproduce)

例如:在柱状图外层div中添加zoom属性0.8
当鼠标移至其中一个柱子上时不显示tooltip,略微往右移动鼠标时才显示,
zoom的值越小,偏移量越大

Activity

  1. derekhe commented on May 9, 2017

    @derekhe

    +1

  2. fengmiaosen commented on Nov 2, 2017

    @fengmiaosen

    +1

  3. fengmiaosen commented on Nov 2, 2017

    @fengmiaosen

    @ZeroBinbin 请问“图表外层添加了css的zoom属性后鼠标移动或点击触发的事件的位置都发生了偏移” 这个问题解决了么?

  4. tylerrrkd commented on May 22, 2018

    @tylerrrkd

    +1 !!

  5. xiaobinwu commented on Nov 7, 2018

    @xiaobinwu

    +1

  6. feynmx commented on Nov 9, 2018

    @feynmx

    +1

  7. 582324763 commented on Dec 20, 2018

    @582324763

    +11

  8. self-assigned this
    on Jan 10, 2019
  9. added
    inactive
    on Jul 1, 2019
  10. echarts-bot commented on Jul 1, 2019

    @echarts-bot

    This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.

  11. tylerrrkd commented on Jul 4, 2019

    @tylerrrkd

    Emmm, 居然closed了都没解决。

  12. feynmx commented on Jul 4, 2019

    @feynmx

    @tylerrrkd
    这块改的是zrender底层,官方还没releases,目前只能靠自己clone,再改zrender版本解决

  13. tylerrrkd commented on Jul 4, 2019

    @tylerrrkd

    @cn-xufei thanks

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

Metadata

Metadata

Assignees

Labels

buginactive

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions