That type of error usually occurs when the API is not fully loaded.  By 
calling drawColumnChart from an onClick event, you don't have any means of 
making sure the API is loaded before trying to draw it.  Try this instead: 
remove the onClick event from the 'myGraphLabel' div and add this to your 
js:

google.setOnLoadCallback(init);

function init() {
    document.getElementById('myGraphLabel').onclick = drawColumnChart;
}

This way, the onClick event will be registered after the API finishes 
loading.

-- 
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/-/WdHaRdIqGY8J.
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.

Reply via email to