You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "gumna99 (via GitHub)" <gi...@apache.org> on 2023/07/20 16:48:00 UTC

[GitHub] [echarts] gumna99 opened a new issue, #18916: [Feature] I'd like to make a legend according to the data links instead of data nodes in my graph

gumna99 opened a new issue, #18916:
URL: https://github.com/apache/echarts/issues/18916

   ### What problem does this feature solve?
   
   As title, in my graph,  I'd like to make a legend according to the data links instead of data nodes. I couldn't find any parameter to achieve this. 
   Setting my data links value as a categories of legend, so I could click certain links value, and show all nodes connected by certain links. 
   
   
   this is my data link as below:
   "nodes":[...]
   "links":[
   0:{
   "source":"JIO1"
   "target":"UPD6"
   "value":[
   0:"data flow (low speed)"
   ]
   "lineStyle":{
   "color":"lightblue"
   }
   "label":{
   "show":true
   "fontSize":10
   "formatter":"{c}"
   }
   },
   1:{
   "source":"JIO1"
   "target":"UPD4"
   "value":[
   0:"control flow"
   ]
   "lineStyle":{
   "color":"thistle"
   }
   "label":{
   "show":true
   "fontSize":10
   "formatter":"{c}"
   }
   }........
   
   ### What does the proposed API look like?
   
   I'm not sure.
   maybe, legend > Style =links > .........


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


Re: [I] [Feature] I'd like to make a legend according to the data links instead of data nodes in my graph [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18916:
URL: https://github.com/apache/echarts/issues/18916#issuecomment-2477315191

   see Demo in #20274 for possible solution to similar problem


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