We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关系图的 layout 设置为 circular, 如果 data 只有两个节点, 那么这两个节点会重叠
两个节点分开显示
option = { title: { text: 'test', top: 'bottom', left: 'right' }, legend: [{ data: me.categories.map(function (a) { return a.name; }) }], animationDurationUpdate: 1500, animationEasingUpdate: 'quinticInOut', tooltip: { trigger: 'item', position: function (point) { return [point[0], 0]; } }, series : [{ type: 'graph', layout: 'circular', data: [{ id: 'aaa', name: 'aaa', value: 'aaa', symbolSize: 10, tooltip: { formatter: function (params) { return params.name + ' <br> ' + params.value; } }, category: 0 }, { id: 'bbb', name: 'bbb', value: 'bbb', symbolSize: 10, tooltip: { formatter: function (params) { return params.name + ' <br> ' + params.value; } }, category: 1 }], links: [], label: { normal: { position: 'right', show: true } }, roam: true, categories: me.categories, focusNodeAdjacency: true, lineStyle: { normal: { width: 1, curveness: 0.3, opacity: 0.7 } } }] }
The text was updated successfully, but these errors were encountered:
只要是偶数,就会重叠,很纠结。。。
Sorry, something went wrong.
f9707fd
No branches or pull requests
问题简述 (One-line summary)
关系图的 layout 设置为 circular, 如果 data 只有两个节点, 那么这两个节点会重叠
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
两个节点分开显示
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: