given the following code snippet ... 

What is the syntax to bring back the property values when doing an 
addlistener to the select event..  For what its worth the code I have 
renders the WordTree and I get to the first alert below but the second 
alert never prints the value of "word" . 
I've tried data.word, wordtree.word and a whole sleu of options that i'd 
rather not post :-) 

Any help would be greatly appreciated ... 

wordtree.draw(data, options);  
 
google.visualization.events.addListener(wordtree, 'select', function() { 
  alert('A table row was selected');
  var xyz = *data.word* ;
  alert( xyz );
});

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/8552ebf8-3aad-45eb-9c91-809e23539862%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [visualization-api] WordTr... bosox2004_williams via Google Visualization API

Reply via email to