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 2020/06/23 03:11:46 UTC

[GitHub] [incubator-echarts] linupychiang commented on issue #3853: echarts event 事件问题

linupychiang commented on issue #3853:
URL: https://github.com/apache/incubator-echarts/issues/3853#issuecomment-647881023


   > 我可以绑定两个事件 但是,当他触发了全局的事件的时候event.target 这个方法一定是undefined,其实最终还是必须要点击到某一个数据点上才可以拿到当前的数据。所以这个方法不太好用。我读了点击事件的源码,当点击到除了点的位置 event里都是获取不到target的,但是我不太清楚为什么 tooltip 这个插件为什么可以只要点击charts表上 就可以获取到当前的数据点。
   
   同问


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