dagundejuzi opened a new issue #10360: 移动端折线tooltip的symbol响应点击事件的范围非常小,能否扩大响应范围
URL: https://github.com/apache/incubator-echarts/issues/10360
 
 
   ### What problem does this feature solve?
   symbol点击事件用户体验优化。
   
   ### What does the proposed API look like?
   折线图symbol的点击区域能更大一点,类似于绑定'axis'时那样的,点击临近区域就能响应事件。
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   
   
目前在移动端点击折线symbol,非常难以点到,可能点7、8下才能点出响应事件,如果symbol在图表边缘就更难点到。如果每次点击间隔5s以上,似乎准确率能高一点。
   点击事件的绑定是这样的:
   `
   ……
   tooltip: {
                       show: true,
                       confine: true,
                       trigger: 'item',
                       triggerOn: 'click',
                }
   
   ……
   
   myChart.on('click',function (param) {
                  // 响应事件操作
   });
   `
   

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

Reply via email to