Hi

I want to embed the chart within a php page to which headers have already 
been sent.
I have a template that calls a number of js files, to one of which I have 
added the drawchart function.

In the template file, I have the line of code,
<script type="text/javascript" src="http://www.google.com/jsapi";></script>

In another js file, I have 
google.load("visualization", "1", {packages:["corechart"]});
and this js file has been called in the template file.

I want the drawchart function to be called within another js function and 
need to pass arguments to drawChart().

Within a js function, I am making an ajax call, which onComplete, I need to 
call drawChart with some arguments. 

I do not call, google.setOnloadCallback. OnComplete of the ajax request, I 
am calling drawChart with the args,
but the chart is not getting drawn. It is giving the 'undefined is not a 
function' error.

Any suggestions on how to get the chart done?

Thanks & Regards,
Rashmy

 

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