Hi Culley, I think it's the authorization key causing this. You'll need to read https://developers.google.com/chart/interactive/docs/spreadsheets#authorization which explains how to obtain your own OAuth credentials.
My own preference is to simply make the spreadsheet readable to anyone with the link. The same page explains how to do that and use either the GID or the name of the sheet to read the data from it. I don't use OAuth often. My own feeling is that I'm drawing a public chart from a Google sheet and anything I'd prefer to be kept private shouldn't be in the same sheet anyway. Ray On Friday, March 19, 2021 at 1:23:15 PM UTC-4 harr...@gmail.com wrote: > I am working with the sample code seen here: > > > https://developers.google.com/chart/interactive/docs/reference#chartwrapperobject > > I have copied the content of the "using setter methods" example and > published it here: > > http://www.k2tog.com/test.html > > As you can see, the example does not work because of the XSS settings. Is > this something I can fix with the server headers? I have also tried it > locally and got the same error. > > culley > > -- 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 google-visualization-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/cee9d947-050e-47bf-95db-141eb2baeca3n%40googlegroups.com.