Bottom orientation OrgChart.orientation.bottom = 1;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.bottom,
});
Bottom lrft orientation OrgChart.orientation.bottom_left = 5;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.bottom_left,
});
Left orientation OrgChart.orientation.left = 3;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.left,
});
Left top orientation OrgChart.orientation.left_top = 7;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.left_top,
});
Right orientation OrgChart.orientation.right = 2;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.right,
});
Right top orientation OrgChart.orientation.right_top = 6;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.right_top,
});
top orientation (default) OrgChart.orientation.top = 0;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.left,
tags: {
"tag1": {
subTreeConfig: {
orientation: OrgChart.orientation.top
}
}
}
});
Top lrft orientation OrgChart.orientation.top_left = 4;
let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.top_left,
});
Generated using TypeDoc
Set the chart orientation