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/10 21:24:09 UTC

[GitHub] Vvvickie commented on issue #7969: 在graph关系图中,categories->itemStyle->borderWidth等不生效,但是color是生效的。

Vvvickie commented on issue #7969: 在graph关系图中,categories->itemStyle->borderWidth等不生效,但是color是生效的。
URL: https://github.com/apache/incubator-echarts/issues/7969#issuecomment-428737181
 
 
   > is this a bug?
   
   The series[i]-graph.data[i].category should be the index of certain category in categories.
   
   So the code should be:
   ```data: [
                   {
                     draggable: true,
                     name: "AGOTOZ",
                     symbolSize: 120
                   },
                   {
                     name: "节点1",//  节点名称
                     category: 0,
                     symbolSize: 60// 标签大小
                   },
                   {
                     name: "节点2",//  节点名称
                     category: 1,
                     symbolSize: 90// 标签大小
                   }
                 ],// 数据渲染
   
   ```
   
   Hope it helps.

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