2010-01-19 50 views

回答

7

不幸的是沒有。目前不可能。

此功能已在Google Visualization API問題跟蹤器中的Issue #47中請求。

您可能希望對問題加以明確說明,讓Google知道您對此功能的興趣。

1

GetOrgChart jQuery的插件具有oeriantation選項來顯示垂直組織結構圖的GetOrgChart插件的

取向。

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

默認值:getOrgChart.RO_TOP

代碼示例:

$("#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