Options
All
  • Public
  • Public/Protected
  • All
Menu

Set the chart orientation

Index

Enumeration members

bottom

Bottom orientation OrgChart.orientation.bottom = 1;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.bottom,
});
bottom_left

Bottom lrft orientation OrgChart.orientation.bottom_left = 5;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.bottom_left,
});
left

Left orientation OrgChart.orientation.left = 3;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.left,
});
left_top

Left top orientation OrgChart.orientation.left_top = 7;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.left_top,
});
right

Right orientation OrgChart.orientation.right = 2;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.right,
});
right_top

Right top orientation OrgChart.orientation.right_top = 6;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.right_top,
});
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_left

Top lrft orientation OrgChart.orientation.top_left = 4;

let chart = new OrgChart('#tree', {
orientation: OrgChart.orientation.top_left,
});

Legend

  • Constructor
  • Property
  • Method
  • Static property
  • Static method

Settings

Theme

Generated using TypeDoc