100pah commented on issue #9292: 关系图中怎样显示部分nodes? (根据属性筛选)
URL: 
https://github.com/apache/incubator-echarts/issues/9292#issuecomment-434795665
 
 
   legend 的事件确实可以触发显示和隐藏,但是对于多维度的情况就不太足够。
   我想,在现有的架构下,或许可以增加这样的实现:
   ```js
   chart.dispatchAction({
       type: 'focus',
       seriesIndex: 0,
       dataIndex: [5, 6],
       edgeDataIndex: [1, 4]
   });
   ```
   不同于已有的 `highlight` `downplay`, `'focus'` 会高亮指定的,清除其余的,这个“清除”的范围,默认是“所指定的系列”。
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to