Your example does not look very much like Google's OrgChart. You might be able to achieve a similar kind of behavior by providing a DataTable/DataView where "Prathibha M" (for example) is the "root" of the hierarchy. You could provide your own up arrow. When a user clicks the up arrow, you could redraw the OrgChart with a new DataTable/DataView where Prathibha's manager is the "root", and so on.
On Thu, Dec 2, 2010 at 11:53 AM, Prathibha Mendon < mendon.prathi...@gmail.com> wrote: > Hi, > > Please Find attached the Org chart I am getting now for User XYZ. > > You can see a UP ARROW and DOWN ARROW. I need to extend the chart when the > user clicks on the UP ARROW also when he clicks DOWN ARROW. > > > -- > Thanks and Regards, > > Prathibha Mendon > > On Sun, Nov 28, 2010 at 2:48 PM, MC Get Vizzy <getvi...@google.com> wrote: > >> >> >> On Fri, Nov 26, 2010 at 11:54 AM, Prathibha >> <mendon.prathi...@gmail.com>wrote: >> >>> Hi, >>> >>> Currently I am getting a Manager and Subordinates deails in an org >>> chart for A USER Selected (i.e 3 layer only). >>> >>> 1. As per my requirement, I should be able to expand from Manager >>> lever to the further UP and from Subordinates level tothe further >>> DOWN. >>> >> >> I'm having trouble understanding what is the effect that you're trying to >> achieve here. If you are trying to create a chart where a node can be >> visible while its parents are "hidden", the google org chart does not >> provide any support for that, but you can probably achieve it by redrawing >> the chart. Also note that you can control which nodes are collapsed by >> calling the OrgChart's collapse() method. >> >> >>> >>> 2. I would like to have this expand collapse event trigger on image >>> click. >> >> >> What do you mean by "image click"? >> >> >>> Currently it is happening on doubleclickin each box in the org >>> chart. >>> >>> 3. I would like to highlight the User Selected. >>> >> >> Can you use the selectedNodeClass option to set some kind of "highlited" >> css class for the selected node? >> >> hope that helps, >> >> MC Get Vizzy >> >> >>> >>> Please let me know in case there are any suggestios on this. >>> >>> Thanks and Regards, >>> Prathibha >>> >>> -- >>> 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-visualization-...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com> >>> . >>> 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 post to this group, send email to >> google-visualization-...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com> >> . >> 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 post to this group, send email to > google-visualization-...@googlegroups.com. > To unsubscribe from this group, send email to > google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com> > . > 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 post to this group, send email to google-visualization-...@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.