Robert,

If you are not calling google.load() until after the document has finished
loading, then the google.setOnLoadCallback function will not be called.
You'll need to add a 'callback' property to your google.load() call
instead.  For the details, see
https://developers.google.com/chart/interactive/docs/library_loading_enhancements#enhanced-library-loading
and https://developers.google.com/loader/#Dynamic

On Wed, Jul 8, 2015 at 11:05 AM, Robert Ramzi Khayat <
[email protected]> wrote:

> Hello,
>
> I am able to draw a line chart using the API but when introducing Ajax
> into the equation, setOnLoadCallback and drawChart never seem to be
> executed, can someone chime in? I have been stuck and I greatly appreciate
> any assistance!!!
>
>
>
> http://stackoverflow.com/questions/31277533/google-setonloadcallback-and-ajax
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Chart 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-chart-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to