If you are using the 'autoload' parameter, then the problem is very likely that you must now use strict JSON for the value of that parameter. This used to work, but it was insecure, so now we process the parameter with JSON.parse.
It might be easier for you to just replace the use of the autoload parameter with a couple lines of code that do the equivalent, using google.charts.load and google.charts.setOnLoadCallback. If you are getting an error about google.visualization being undefined, then the loader did not finish loading the library before you started depending on it. That's what the setOnLoadCallback is for. On Wednesday, May 20, 2020 at 7:14:23 PM UTC-4, Dianna Whitt wrote: > > We are having the same problem. Charts were failing intermittently but >> frequently you could refresh and they would display. But as of yesterday, >> we are no longer able to display them. > > > On Chrome the error is: Uncaught TypeError: Cannot read property > 'ChartWrapper' of undefined > On Firefox the error is: Typeerror: google.visualization is undefined. > > The line failing is the call to google.visualization.ChartWrapper. I have > verified that the data being passed is valid JSON data. > > I tried to change from jsapi to www.gstatic.com/charts/loader.js but it > makes no difference. > > Any assistance would be appreciated, > Dianna > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/3f721d8a-71fd-42a6-b5a1-b84d0051ddd3%40googlegroups.com.
