OrgChart icon indicating copy to clipboard operation
OrgChart copied to clipboard

如果初始化的时候选择了纵向排列'verticalLevel': 4, 新添加的元素还是横向的

Open flowerxuegao opened this issue 4 years ago • 1 comments

初始化的代码,添加了'verticalLevel': 4,,纵向排列 var oc = $('#chart-container').orgchart({ 'data' : datascource, 'chartClass': 'edit-state', 'exportButton': false, 'exportFilename': 'SportsChart', "pan":false, "zoom":true, 'verticalLevel': 4, 'nodeContent': 'title', "draggable":true, "toggleSiblingsResp":false, 'createNode': function($node, data) { $node[0].id = getId(); } }); edit-chart这个demo里面新增的元素还是横向排列

flowerxuegao avatar Feb 04 '21 01:02 flowerxuegao

Hi @flowerxuegao ,你可以基于这个例子https://dabeng.github.io/OrgChart/edit-hybrid-chart.html 改造一下,看看还有什么问题

dabeng avatar Feb 18 '21 07:02 dabeng