Did you ever found an answer on this?
On Tuesday, May 11, 2010 at 6:57:46 AM UTC-5, ganga wrote:
>
> 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 [email protected]
> <javascript:>.
> To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/5fd86dbb-6c7f-4b3a-8389-56a3f29ee7a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.