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 2018/08/13 08:24:11 UTC

[GitHub] lixianbin1 opened a new issue #8861: 关于区域选择的mousedown触发问题

lixianbin1 opened a new issue #8861: 关于区域选择的mousedown触发问题
URL: https://github.com/apache/incubator-echarts/issues/8861
 
 
   ### [问题简述]
   在IE11中,EChart的Line视图,在给canvas绑定mousedown后,当开启区域选择状态的时候,不会触发mousedown事件
   
   $("#poppup canvas").off("mousedown").on("mousedown",function(e){
     
   }
   $("#poppup canvas").on("mouseup",function(e){
   
   }
   
   ### [期望结果]
   希望能在IE的环境中,当我开启区域选择状态,开始拖动的时候能够触发mousedown事件,
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'line'
       }],
   	brush: {
   		toolbox: [ 'lineX'],
   		transformable:false,
   		xAxisIndex: 0,
   		brushStyle:{
   			borderWidth: 1,
   			color: 'rgba(78,200,247,0.1)',
   			borderColor: '#4ec8f7',
   		},
   	},
   };
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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