If you use ChartWrappers, you can iterate over your wrappers to find which 
(if any) have the containerId set to the given div id, eg:

// assumes your ChartWrappers are in an array (the "wrappers" parameter)
function findWrapperById (wrappers, id) {
    for (var i = 0; i < wrappers.length; i++) {
        if (wrappers[i].getContainerId() == id) {
            return wrappers[i];
        }
    }
    // we didn't find one
    return false;
}

On Thursday, April 3, 2014 8:40:05 PM UTC-4, Bailey Lee wrote:
>
> Hi all, 
>
> I'm wondering if I could get the returned object by the div id?
> I searched online but there is few info about this. 
>
> Thanks.
> Bailey
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to