You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/10/31 18:22:13 UTC

[GitHub] 100pah edited a comment on issue #9292: 关系图中怎样显示部分nodes? (根据属性筛选)

100pah edited a comment 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'` 会高亮指定的,清除其余的,这个“清除”的范围,默认是“所指定的系列”。
   
   @pissang 你觉得呢?

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


With regards,
Apache Git Services

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