Options
All
  • Public
  • Public/Protected
  • All
Menu

Set the chart orientation

Index

Enumeration Members

bottom: number

Bottom orientation OrgChart.orientation.bottom = 1;

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

Bottom lrft orientation OrgChart.orientation.bottom_left = 5;

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

Left orientation OrgChart.orientation.left = 3;

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

Left top orientation OrgChart.orientation.left_top = 7;

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

Right orientation OrgChart.orientation.right = 2;

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

Right top orientation OrgChart.orientation.right_top = 6;

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

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: number

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