You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/31 07:22:40 UTC

[GitHub] [incubator-echarts] lixianbin1 commented on issue #8861: 关于区域选择的mousedown触发问题

lixianbin1 commented on issue #8861: 关于区域选择的mousedown触发问题
URL: https://github.com/apache/incubator-echarts/issues/8861#issuecomment-497604933
 
 
   > > 我重新看了下文档,问题已经解决,抱歉,这是我的失误
   > > myChart.getZr().on('mousedown', function () {
   > > console.log("鼠标按下")
   > > });
   > > 自己实现 折线图的 圈选 怎么实现?
   
   全选?开启区域选择的功能,通过绑定mousedown 获取鼠标点下的位置,通过绑定mouseup 获取离开的位置,然后执行运算得出选区的数据

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


With regards,
Apache Git Services

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