No, because setOnLoadCallback is called when the API is finished loading. Even if you replaced it with a straight drawVisualization() call, it wouldn't run the script. You have to explicitly call any dynamically generated JS.
You might want to consider having your PHP script return a JSON string representation of your data instead, and having the JS code in the main doc. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/7fMamdq7JTYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
