提交 1e9b43e2 编写于 作者: P pissang

Fix fixed property in nodes not work bug. Fix #5966

上级 494d3d24
......@@ -57,6 +57,7 @@ define(function (require) {
return {
w: rep,
rep: rep,
fixed: nodeData.getItemModel(idx).get('fixed'),
p: (!point || isNaN(point[0]) || isNaN(point[1])) ? null : point
};
});
......
......@@ -35,7 +35,13 @@
renderer: 'canvas'
});
var data = [];
var data = [{
fixed: true,
x: chart.getWidth() / 2,
y: chart.getHeight() / 2,
symbolSize: 20,
id: '-1'
}];
var edges = [];
chart.setOption({
series: [{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册