That's pretty much it, the call seems to do absolutely nothing.
If I debug the page in Chrome, put a breakpoint right after the call to
google.load('visualization', '1.0', { packages: ['corechart', 'bar', 'table'] });
and literally wait 5-10 seconds for the loading to finish, then proceed, it is fine. Otherwise, if I let 'setOnLoadCallback' try to do it's thing, it will throw
'Uncaught TypeError: Cannot read property 'DataTable' of undefined'
The error is thrown on:
var data = new google.visualization.DataTable();
Edit:
I should also note that in all examples I've found, when calling
google.setOnLoadCallback(drawChart);
All the examples are as above, without including the brackets '()' at the end of the function, i.e.
google.setOnLoadCallback(drawChart());
However, the only way it actually works for me, is WITH the brackets, yet there are no examples where people include the brackets.