If you want to manipulate the chart using events outside the chart, I
believe the only way to access it is to declare the chart as a global:
var chart = new
google.visualization.OrgChart(document.getElementById('chart_div'));
function drawChart() {
...
}
then reference it in your update function:
function update () {
chart.setSelection();
}
--
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.