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.