I am trying to make a dashboard with both the Embed API and the Visualization API. I can get both to install and run, but it appears to cause errors on the draw() of charts. I get a "You called the draw() method with the wrong type of data rather than a DataTable or DataView" when inputting the datatable from the Embed API query.
Some forums have said it was an error from using both the old and new loader. Currently I load: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> And then in a separate script directly after: // Load script provided in the Google Analytics Docs loadGAnalytics(); google.load = google.load || google.charts.load; google.setOnLoadCallback = google.setOnLoadCallback || google.charts.setOnLoadCallback; google.charts.load('current', { packages: ['corechart', 'table', 'line', 'geochart'] }); Thank you! -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/cc321de9-1875-4d6f-bc9d-caacb52ced42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
