Hello,

How would I grab the chart object I'm using if I was to use the 
containerId? 

The pie chart is: 
chart = new google.visualization.ChartWrapper({
                'chartType': 'PieChart',
                'containerId': myContainer,
                'options': {
                    'pieSliceText': 'value',
                    'legend': legend,
                    'chartArea': {'left': 20, 'top': 10, 'right': 10, 
'bottom': 20},
                    'pieSliceText': 'value'
                }
});

This code section is run many times to create multiple charts. Therefore, 
"chart" would keep changing to the most recent chart created inside 
different divs, so I can't just call chart.

How would I grab the specific chart if I have the container div?

Thanks.

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/6e06dd41-5eb1-4e32-8ab6-4c0586cb410e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to