直接调用就行
$(
'#chart-container'
).orgchart({
'data'
: datascource,
'nodeContent'
:
'title'
,
'direction'
'l2r'
});