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/11/02 08:39:48 UTC

[GitHub] chairy11 opened a new issue #9326: 关系图中怎么使用视觉映射visualMap?

chairy11 opened a new issue #9326: 关系图中怎么使用视觉映射visualMap?
URL: https://github.com/apache/incubator-echarts/issues/9326
 
 
   ### One-line summary [问题简述]
   
   散点图的data使用array,所以visualMap使用dimension定位。
   地图的data使用object,visualMap使用value定位。
   
   那关系图谱呢?我需要同时映射颜色、大小到每个nodes, 这时候怎么才能与数据中相应属性对应起来?
   
   '''
   data=[{
       d: "10",
       dataIndex: 2,
       name: "深圳市物业发展(集团)股份有限公司",
       category: 0,
       return: 0.6307,
       sentiment: 0.2642,
       capital: 0.5807,
   }]
   '''
   比如每个节点的数据如上所示,我需要把return属性映射到节点颜色上,把capital属性映射到symbolSize上。
   怎么才能对应起来?
   
   

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