English 中文(简体)
Google Visualization API - Org Chart Layout
原标题:

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

最佳回答

Unfortunately no. It is not possible at the moment.

This feature has been requested in Issue #47 on the Google Visualization API issue tracker.

You may want to star the issue to let Google know about your interest in this feature.

问题回答

GetOrgChart jQuery widget has oeriantation option to show 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





相关问题
Google Charts: chxl and bhg

http://chart.apis.google.com/chart?cht=bhg&chd=t:3771.5,3220|5508.25,5366.75& chs=400x200&chds=0,9000&chxt=x&chxr=0,0,9000& chm=N*cUSD2s*,000000,0,-1,11|N*cUSD2s*,000000,1,-1,...

出口谷歌视觉图像是没有任何途径?

出口谷歌视觉组织图作为形象是否有任何途径? 我想,这是我网站的一个特点,因此人们可以点击一个 but子或一个链接,......

Google Visualization API - Org Chart Layout

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

How to disable Google Visualizations Tool Tips?

Does anyone know how to disable the tool-tip boxes that popup when a Google Visualizations chart is clicked (Selected)? Following the sample code at Getting Started with Visualizations, the "...

热门标签