Google Visualization API - Org Schema Layout

Using the Org Chart in the Google Visualization API, there is a way to flip the vertical layout chart instead of the horizontal one.

+6
google-visualization orgchart
source share
2 answers

Unfortunately not. This is currently not possible.

This feature was requested in Issue 47 of the tracker for Google APIs.

You might want to ask a question to tell Google about your interest in this feature.

+7
source share

GetOrgChart jQuery widget has an oeriantation parameter to display a vertical org chart

Orientation of the GetOrgChart widget.

  • getOrgChart.RO_TOP
  • getOrgChart.RO_BOTTOM
  • getOrgChart.RO_RIGHT
  • getOrgChart.RO_LEFT

Default value: getOrgChart.RO_TOP

Code Examples:

$("#people").getOrgChart({ orientation: getOrgChart.RO_LEFT, dataSource: [ { id: 1, parentId: null, Name: "Amber McKenzie"}, { id: 2, parentId: 1, Name: "Ava Field"}, { id: 3, parentId: 1, Name: "Evie Johnson"}] }); 

JSFIDDLE Demo

+1
source share

All Articles