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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
