There is no explicit way to do so in the API, but you *might* be able to use
jQuery to help you. Add this at the end of your drawChart() function:
$("#chart_div1").children("iframe").contents().find("#chartArea").click(function
() {
location.href = ('https://www.website.com/page.php?variable=1');
});
This works on the visualization playground, but I think there might be some
cross-domain problems with using .contents() to get the contents of an
iframe from another domain. It's worth a try, anyway.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/Luf5H-rGrWYJ.
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.