Hi!
I'm using a treemap view and I want to show an alert message when you
click a child node end.
What I do is create a listener and a trigger for the select event, I
call the function to display the alert.
But I can not make it work.
The code:
<script type="text/javascript">
google.visualization.events.addListener(treemap, 'select',
func);
google.visualization.events.trigger(treemap, 'select',
null);
function func() {
alert 'ultimo nodo';
}
</script>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.