The console is blank. When I just view the chart.php or team.php with <? include 'chart.php'; ?>, the charts load and the dev tools shows all of the divs and chart data. When the team.php is fetched and loaded into the "third level" the console is empty and the element panel shows the <div id='chart_div'></div> but it is empty. It is pulling the div from the two files it is embedded in but the chart isn't generating. I'm guessing it has something to do with fetching the file and it is loading the content before the chart generates. Not sure how to combat, I really need this to work on that level.
On Friday, December 15, 2023 at 2:15:38 PM UTC-5 Ray Thomas wrote: > What does the console message in the browser dev tools say? It might be > something like "Error: The container #xxxxxxxxxx is not defined." > > The div to hold the chart has to exist before the chart can be drawn. > > On Thursday, December 14, 2023 at 8:48:33 AM UTC-5 Regain 2AControl wrote: > >> I have just started using google charts and it works great when a chart >> is placed in a div on a specific static page, however, I am having an issue >> with pages within pages loaded with javascript fetch into a panel(div). >> Example, index.php chart works fine. Chart on rightpanel.php fetched into >> a div in index.php, the chart does not load. Any thoughts? > > -- 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/73a7f491-564f-4793-8c9c-71bff8b75a1bn%40googlegroups.com.
