[visualization-api] need to display Org chart in vertically

207 views
Skip to first unread message

ganga

unread,
May 11, 2010, 7:57:46 AM5/11/10
to Google Visualization API, maligan...@gmail.com
Hi,

I need to display org chart vertically , Any help on this?

Is it possible to show second child on another row.( first child on
first row and the other one in next row)


Regards
Ganga


Please find my code as follows:

var data = new google.visualization.DataTable();
// server name
data.addColumn('string',
'ServerName');
// server parent
data.addColumn('string',
'Parent');
// server status
data.addColumn('string',
'Status');
data.addRows(5);
data.setCell(0, 0, 'DB Load
Balancer');
data.setCell(0, 2, 'DB Load
Balancer');
data.setCell(1, 0, 'DB Server1',
'<a href="/ProWebClient/primaryParameters.html?serverName=sl-prod-be-
db-srv01">DB Server 1</a>');
data.setCell(1, 1, 'DB Load
Balancer');
data.setCell(1, 2,
status_dbserver1);
data.setCell(2, 0, 'DB Server2',
'<a href="/ProWebClient/primaryParameters.html?serverName=sl-prod-be-
db-srv02">DB Server 2</a>');
data.setCell(2, 1, 'DB Load
Balancer');
data.setCell(2, 2,
status_dbserver2);
data.setCell(3, 0, 'DB Server3',
'<a href="/ProWebClient/primaryParameters.html?serverName=sl-prod-be-
db-srv03">DB Server 3</a>');
data.setCell(3, 1, 'DB Load
Balancer');
data.setCell(3, 2,
status_dbserver3);
data.setCell(4, 0, 'Manager
Server', '<a href="/ProWebClient/primaryParameters.html?serverName=sl-
prod-be-mgr-srv01">Management Server </a>');
data.setCell(4, 1, 'DB Load
Balancer');
data.setCell(4, 2,
status_manager);

MemoryAlarmChart.draw(data, {
allowHtml: true,
size: 'large'
});

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Sharan

unread,
May 12, 2010, 6:30:12 AM5/12/10
to Google Visualization API
I am also interested in inverting the Organization chart. Bottom to
top Approach is that possible???

samuel.ma...@bbva.com

unread,
Oct 5, 2015, 11:32:15 AM10/5/15
to Google Visualization API, maligan...@gmail.com
Did you ever found an answer on this?
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages