Could you please elaborate on your use case for this? Charts are actually
constructed with the element itself, i.e.
newgoogle.visualization.PieChart(document.getElementById(
'visualization')) rather than new google.visualization.PieChart(
'visualization'), so if your qualm is that you don't want to assign id's to
elements, you can get the elements in other ways. Otherwise, I'm not sure
what kind of 'data' you intend to get from the chart without passing it an
element to draw on.

- Sergey


On Wed, Apr 3, 2013 at 8:22 AM, Kiran An <[email protected]> wrote:

>
>  how to fetch chart data from google API without passing Id to say
> google.visualization.PieChart(element_id).
> is there any way to do this?
>
>  --
> 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.
>
>
>

-- 
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.


Reply via email to