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 2019/06/19 23:56:38 UTC

[GitHub] [incubator-echarts] liuttcc edited a comment on issue #10676: Highlight edges through dispatchAction in force-layout graph

liuttcc edited a comment on issue #10676: Highlight edges through dispatchAction in force-layout graph
URL: https://github.com/apache/incubator-echarts/issues/10676#issuecomment-503788252
 
 
   Hi, I have read the document as well as the source code. First, the node dataIndex and the edge dataIndex were counted separately. In the code view/Chart.js, I find
   ```
   highlight: function (seriesModel, ecModel, api, payload) {
           toggleHighlight(seriesModel.getData(), payload, 'emphasis');
       }
   ```
   Here getData() can be found in Model/Series.js, I think the possible reason that we can't highlight the edges through dispatchAction now is that getData function will get the node dataIndex but not the edge dataindex.
   
   Could you please help me check it?

----------------------------------------------------------------
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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org