Add link to Organizational Chart's node

735 views
Skip to first unread message

boblu

unread,
Nov 3, 2008, 8:12:42 PM11/3/08
to Google Visualization API
I have searched a good horizontal tree layout for so long,
and this is a beautiful api that almost have all the function I need.

In fact, I use the following lib to generate a horizontal tree until
now.
http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx

By using the google ones, the only thing I missing is the function to
add a link to each node in the tree.

So is there a way to add a link to each node that I can use for some
ajax action after clicking on it?

VizGuy

unread,
Nov 3, 2008, 9:30:27 PM11/3/08
to google-visua...@googlegroups.com
The Org chart in the Google Visualization gallery supports selection events that let you listen to events when the user selects (clicks) a node, and activate any js function. 
In addition, you can programatically set the selected node from your js code.

Note that most of the visualizations support this type of events, including the interactive charts.

For more details look at our events docs and example at http://code.google.com/apis/visualization/documentation/events.html#example

VizGuy

boblu

unread,
Nov 3, 2008, 11:06:15 PM11/3/08
to Google Visualization API
Thank you very much.
I will switch to the google org chart then.

On Nov 4, 11:30 am, VizGuy <viz...@google.com> wrote:
> The Org chart in the Google Visualization gallery supports selection events
> that let you listen to events when the user selects (clicks) a node, and
> activate any js function. In addition, you can programatically set the
> selected node from your js code.
> Note that most of the visualizations support this type of events, including
> the interactive charts.
>
> For more details look at our events docs and example athttp://code.google.com/apis/visualization/documentation/events.html#e...
>
> VizGuy
Reply all
Reply to author
Forward
0 new messages