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 2019/10/30 10:40:44 UTC

[GitHub] [incubator-echarts] yslqq opened a new issue #11527: dataZoom的 filterMode为 'filter'时,graph的focusNodeAdjacency节点不准确

yslqq opened a new issue #11527: dataZoom的 filterMode为 'filter'时,graph的focusNodeAdjacency节点不准确
URL: https://github.com/apache/incubator-echarts/issues/11527
 
 
   ### Version
   4.4.0
   
   ### Steps to reproduce
   1、将series添加一个系,type:graph;
   2、dataZoom添加四个,每个filterMode:均为'filter'
   3、设置节点点击,是节点高亮:
          graphChart.on('click', function (params) {
               if (params.dataType !== 'node') {
                 return;
               }
   
               if (params.dataIndex ) {
          
                 graphChart.dispatchAction({
                   type: 'focusNodeAdjacency',
                   dataIndex: params.dataIndex,
    
                 })
               } else {
                 graphChart.dispatchAction({
                   type: 'unfocusNodeAdjacency',
                 });
   
               }
         });
   
   ### What is expected?
   高亮显示的为点击的节点
   
   ### What is actually happening?
   高亮显示的不是点击的节点
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org