Your entire drawChart() function will likely execute before the AJAX call is finished. Thus, result will almost always be whatever it's default value is (null?), and so the chart will not draw the way you want. You need to move the chart drawing code into the AJAX call's return function.
-- 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/-/2sckyBJIa0wJ. 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.
