-
Notifications
You must be signed in to change notification settings - Fork 19.8k
series[i]-graph.categories[i] 中的 symbol 和 symbolSize 不起作用 #8009
Copy link
Copy link
Closed
Closed
Copy link
Description
One-line summary [问题简述]
如题,应该是个小 bug ?
可将下面代码在官网运行一下。
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 最新
- Browser version [浏览器类型和版本]: chrome
- OS Version [操作系统类型和版本]:
Expected behaviour [期望结果]
series[i]-graph.categories[i] 中的 symbol 和 symbolSize 可以正确作用
ECharts option [ECharts配置项]
option = {
title: {
text: 'Graph 简单示例'
},
series : [
{
type: 'graph',
layout: 'none',
data: [{
name: '节点1',
x: 300,
y: 300,
category: 0
}, {
name: '节点2',
x: 800,
y: 300,
category: 1
}],
links: [{
source: 0,
target: 1
}],
categories: [{
symbol:'diamond',
symbolSize:50,
itemStyle: {
normal: {
color: "orange",
}
}
},{
symbol:'rect',
symbolSize:50,
itemStyle: {
normal: {
color: "green",
}
}
}]
}
]
};Other comments [其他信息]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackNo fields configured for issues without a type.