Thanks asgallant, we will try this and I'll let you know how it worked
out. :)

J.

On Sep 9, 8:33 pm, asgallant <[email protected]> wrote:
> You can create an event listener for the select event and use the row and
> column data returned from the event to get the URL information from your
> DataTable object.  You can then set window.location to the URL and it will
> be as if the user clicked a link.  As an example:
>
> /*  assumes:
>  *    data is the DataTable object
>  *    chart is the chart object
>  *    URL's are stored as a property, named "URL", of the cells
>  */
> new google.visualization.events.addListener(chart, 'select', function() {
>     var selection = chart.getSelection()[0];
>     window.location = data.getProperty(selection.row, selection.column,
> "URL");
>
> });

-- 
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].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to