<script type="text/javascript" src="https://www.google.com/jsapi"></script><script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>// 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'] });--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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.
Hi Drew,Are you using both the jsapi and gstatic charts/loader.js in the document for a reason? This is generally not a good idea, and you should probably just switch to the newer gstatic charts/loader.js.
On Mon, Jun 5, 2017 at 2:01 PM, Drew Hayward <dreww...@gmail.com> wrote:
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
I realized that was in there after I posted. That was from failed troubleshooting. I removed it and am still getting the same chart draw error when using the response.datatable from the the Embed API query. I checked the object literal in the console and it appears to match the format detailed here.
Thank you for the reply!
On Monday, June 5, 2017 at 3:03:54 PM UTC-4, Daniel LaLiberte wrote:
Hi Drew,Are you using both the jsapi and gstatic charts/loader.js in the document for a reason? This is generally not a good idea, and you should probably just switch to the newer gstatic charts/loader.js.
On Mon, Jun 5, 2017 at 2:01 PM, Drew Hayward <dreww...@gmail.com> wrote:
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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/c3548646-0a14-4d23-8b90-9f9364962b7a%40googlegroups.com.
Can you point us at a web page that causes this error, so we can investigate what is happening?
On Mon, Jun 5, 2017 at 3:23 PM, Drew Hayward <dreww...@gmail.com> wrote:
I realized that was in there after I posted. That was from failed troubleshooting. I removed it and am still getting the same chart draw error when using the response.datatable from the the Embed API query. I checked the object literal in the console and it appears to match the format detailed here.
Thank you for the reply!
On Monday, June 5, 2017 at 3:03:54 PM UTC-4, Daniel LaLiberte wrote:
Hi Drew,Are you using both the jsapi and gstatic charts/loader.js in the document for a reason? This is generally not a good idea, and you should probably just switch to the newer gstatic charts/loader.js.
On Mon, Jun 5, 2017 at 2:01 PM, Drew Hayward <dreww...@gmail.com> wrote:
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/c3548646-0a14-4d23-8b90-9f9364962b7a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
--
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 post to this group, send email to google-visua...@googlegroups.com.
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/c3548646-0a14-4d23-8b90-9f9364962b7a%40googlegroups.com.
--
--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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/06247365-4ac7-467a-8c40-863fbb0a2fd3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/c3548646-0a14-4d23-8b90-9f9364962b7a%40googlegroups.com.
--
--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/06247365-4ac7-467a-8c40-863fbb0a2fd3%40googlegroups.com.