yuanlove521 commented on issue #9190: Echarts 4.x 在线定制,graph图表渲染时会有透明度
URL: https://github.com/apache/incubator-echarts/issues/9190#issuecomment-434921706
echarts配置:
{
"title": {
"text": ""
},
"series": [
{
"type": "graph",
"focusNodeAdjacency": true,
"roam": true,
"emphasis": {
"lineStyle": {
"width": 4
},
"edgeLabel": {
"show": true
}
},
"data": [
{
"symbolSize": 18,
"name": "年龄",
"value": "年龄",
"x": -22,
"y": -20,
"itemStyle": {
"color": "#547b95"
},
"label": {
"show": true,
"color": "#547b95",
"position": "bottom"
},
"emphasis": {
"itemStyle": {
"borderWidth": 4,
"borderColor": "#547b95"
}
}
},
{
"symbolSize": 18,
"name": "性别",
"value": "性别",
"x": 32,
"y": 12,
"itemStyle": {
"color": "#547b95"
},
"label": {
"show": true,
"color": "#547b95",
"position": "bottom"
},
"emphasis": {
"itemStyle": {
"borderWidth": 4,
"borderColor": "#547b95"
}
}
},
{
"symbolSize": 18,
"name": "毕业院校",
"value": "毕业院校",
"x": -32,
"y": 12,
"itemStyle": {
"color": "#547b95"
},
"label": {
"show": true,
"color": "#547b95",
"position": "bottom"
},
"emphasis": {
"itemStyle": {
"borderWidth": 4,
"borderColor": "#547b95"
}
}
},
{
"symbolSize": 18,
"name": "公司",
"value": "公司",
"x": 32,
"y": -12,
"itemStyle": {
"color": "#547b95"
},
"label": {
"show": true,
"color": "#547b95",
"position": "bottom"
},
"emphasis": {
"itemStyle": {
"borderWidth": 4,
"borderColor": "#547b95"
}
}
},
{
"name": "我",
"symbolSize": 60,
"x": 0,
"y": 0,
"itemStyle": {
"color": "#de7e7b",
"fontSize": 14
},
"label": {
"show": true,
"position": "inside"
}
}
],
"links": [
{
"source": "我",
"lineStyle": {
"color": "#666"
}
},
{
"source": "我",
"target": "年龄",
"lineStyle": {
"color": "#666"
}
},
{
"source": "我",
"target": "性别",
"lineStyle": {
"color": "#666"
}
},
{
"source": "我",
"target": "毕业院校",
"lineStyle": {
"color": "#666"
}
},
{
"source": "我",
"target": "公司",
"lineStyle": {
"color": "#666"
}
}
]
}
]
}
打开[此链接](http://www.echartsjs.com/examples/editor.html?c=graph-force2),将上述代码粘贴复制。可以看到问题的复现
----------------------------------------------------------------
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