You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/02/25 08:34:43 UTC

[GitHub] [echarts] Justpipidog removed a comment on issue #2854: echarts3能否响应鼠标滚轮事件

Justpipidog removed a comment on issue #2854:
URL: https://github.com/apache/echarts/issues/2854#issuecomment-785539776


   目前我想在实现有dataroom 的折线图中可以通过滚轮的缩放,当放大到某一地步时,就能够触发比如markpoint,显示相关信息;当缩小某一地步时,又能隐藏相关信息。
   
   类比生活中使用地图的行为:
   当地图没有放大时,是不能显示某些细节的,只有当放大到某一个地步时,才能显示细节;同时当地图一缩小时,又能隐藏某些细节。
   
   目前 myChart.getZr().on('mousewheel', function () {} ) 只能检测缩放事件,缺不能检测是缩小还是放大,以及放大,缩小的尺度。
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org