I moved all the data collection and chart drawing into a single function that is triggered by google.setOnLoadCallback, which avoids possible synchronization issues (where the callback function is called before the document's 'ready' event fires). See the example code here: http://jsfiddle.net/MtcH4/
This is a pretty rough reworking of the code that can easily be refined and condensed (ie, input data directly into the DataTables without going through the intermediary ColName and ColValue arrays), but it should be enough to get you started. -- 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/-/AA1JCsloOMQJ. 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.
