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 2022/11/18 02:42:18 UTC

[GitHub] [echarts] A-Yang-Git opened a new issue, #17936: legend事件监听问题

A-Yang-Git opened a new issue, #17936:
URL: https://github.com/apache/echarts/issues/17936

   ### What problem does this feature solve?
   
   legend中有mousemover事件 但 .on 却没有可以监听该事件的函数 , 只有一个legendselectchanged是监听click的 ,希望能给legend一个监听mousemover的函数谢谢。我是用的饼图有这个问题,其它应该也有。
   
   ### What does the proposed API look like?
   
   。。。


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

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


[GitHub] [echarts] A-Yang-Git commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
A-Yang-Git commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319511888

   > 命名上应该叫 `legendmouseover`,建议自己支持一下,参考 #17849
   并不可以呀this.chart.on("legendmouseover",params=>{
           console.log(params);
         })
   不生效


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] Ovilia commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319501169

   命名上应该叫 `legendmouseover`,建议自己支持一下,参考 #17849


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] Ovilia commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319519980

   现在没有支持,我的意思是说如果你要新增的话,命名应该叫这个


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] A-Yang-Git commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
A-Yang-Git commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319557091

   > 现在没有支持,我的意思是说如果你要新增的话,命名应该叫这个
   嗯嗯,好的好的,没事了,你是说我自己改源码提交是吧,哈哈,我现在用dispatchAction 里的highlight和downplay然后自己定义div 添加 @click @mouseover @mouseleave 完成效果的,
   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319501240

   This issue is labeled with `difficulty: easy`.
   @A-Yang-Git Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319473331

   @A-Yang-Git It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   Legend event monitoring problem
   
   **BODY**
   
   ### What problem does this feature solve?
   
   There is a mousemover event in the legend, but .on has no function that can listen to the event, only a legendselectchanged is listening to click, I hope to give legend a function to listen to mousemover, thank you. The pie chart I use has this problem, and everything else should have this problem as well.
   
   ### What does the proposed API look like?
   
   。。。
   </details>


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] A-Yang-Git commented on issue #17936: legend事件监听问题

Posted by GitBox <gi...@apache.org>.
A-Yang-Git commented on issue #17936:
URL: https://github.com/apache/echarts/issues/17936#issuecomment-1319557659

   
   
   
   
   
   > 现在没有支持,我的意思是说如果你要新增的话,命名应该叫这个
   
   哈哈其实mouseover应该对应mouseout


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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