Re: [visualization-api] Re: How do I create an OrgChart with all nodes collapsed when first displayed?

2016-08-25 Thread Mandar Kamate
Hi , I could show default all rows collapse nodes using above code.But the requirement is now to collpase upto 3 levels from bottom of hierarchy. in other words show hierarchy default as expanded to 3 levels only.I have tried above code by giving hard coding valued for row index,but it

Re: [visualization-api] Re: How do I create an OrgChart with all nodes collapsed when first displayed?

2014-01-17 Thread Tim Kasper
Four year later... This has saved me about three hours of works that otherwise would have frustrated me to no end. Thank you so much Viz Kid. All the best, Tim On Thursday, February 18, 2010 3:00:19 AM UTC-5, Viz Kid wrote: Have a look at the playground at the org chart example:

Re: [visualization-api] Re: How do I create an OrgChart with all nodes collapsed when first displayed?

2010-02-19 Thread Viz Kid
Have you added the additional option flag {allowCollapse: true}? This exact code in the playground worked for me on every browser I tried (Safari, Chrome and Firefox - all on mac). On Fri, Feb 19, 2010 at 5:29 PM, gwiens glenn.wi...@gmail.com wrote: Thanks for the example. However, I could not

[visualization-api] Re: How do I create an OrgChart with all nodes collapsed when first displayed?

2010-02-19 Thread gwiens
I missed declaring the putting the var chart = before new google.visualization.OrgChart... bit. Thanks -- it did indeed work. On Feb 19, 10:57 am, Viz Kid viz...@google.com wrote: Have you added the additional option flag {allowCollapse: true}? This exact code in the playground worked for me

Re: [visualization-api] Re: How do I create an OrgChart with all nodes collapsed when first displayed?

2010-02-18 Thread Viz Kid
Have a look at the playground at the org chart example: http://code.google.com/apis/ajax/playground/#org_chart Modify the last line which draws the chart with: // Create and draw the visualization. var chart = new google.visualization.OrgChart(document.getElementById( 'visualization'));