I have the same problem, I'm using oem license.
What I have found is that if you put an 'alert()' between the getChartFromId() and the setDataURL() it works fine, but it does not solve my problem since the charts that I'm using are supposed to run without user interaction.
Also, it is happening in IE and Firefox as well.