Google Charts HTML embed problem

Does anyone know why Google Chart html elements don’t seem to work? I am just copying directly off the google chart examples that google provides. A preview of the Chart shows up in the design editor, but does not show up when the page is previewed. Instead it creates an error. I am guessing it has something to do with not having the Google script not being properly defined. Any ideas?

Here is an example. There is only one html element on the index page. It is a Google Charts script copied directly off the Google Charts documentation. A preview of the chart is shown in the design editor, but when previewing or running the app it does not show the chart.

I figured out that the charts will display if I put them within an iframe. Not sure why.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.