Google Org Chart Visualization and Select Event

479 views
Skip to first unread message

nolybab

unread,
Nov 23, 2009, 12:14:48 AM11/23/09
to Google Visualization API
I have reviewed the following google document regarding this question.

http://code.google.com/apis/visualization/documentation/gallery/orgchart.html

The question I am having is on the 'events' listed for the chart,
there is a 'selected' even described, but it says that the properties
are none....does this mean that we only have what is available like
window.event.element or something?
http://code.google.com/apis/visualization/documentation/gallery/orgchart.html#Events

Any example code working with this event? What i'd like to do is
display related information in a div, but not sure where to
start...any help would be appreciated.

VizWiz

unread,
Nov 25, 2009, 3:24:28 AM11/25/09
to google-visua...@googlegroups.com
Although the select event itself has no properties, once it was fired you can use the chart's getSelection() to know what was selected. For an interactive example (not for Org chart but the code would work as is for Org chart), you can have a look here:

Hope this helps.



--

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=.



Reply all
Reply to author
Forward
0 new messages