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 2021/08/20 15:00:08 UTC

[GitHub] [echarts] gMan1990 commented on issue #15469: how to highlight link when click series-graph's node?

gMan1990 commented on issue #15469:
URL: https://github.com/apache/echarts/issues/15469#issuecomment-902755671


   @Ovilia I know single `selectedMode` and `select.itemStyle` is about: click node, then it's selected. click again, then it's unselected. How about: click node-A, highlight link-1 and link-2. click node-B, highlight link-3 and link-4.
   
   ```js
   // like this:
   jQuery(function($){
       $(nodeElementA).click(function(){
           // clear highlight
           // highlight linkElement1 and linkElement2
       });
       $(nodeElementB).click(function(){
           // clear highlight
           // highlight linkElement3 and linkElement4
       });
   });
   ```


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