--
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/2b90496c-e824-411a-b2ca-1dfe30dab022%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/6d4e9350-b27d-4a8c-89d5-f9c9932e9a76%40googlegroups.com.
google.charts.load('current', {packages: ['corechart', 'line']);google.charts.setOnLoadCallback( drawChart(loc) );
function drawChart(loc) {
google.charts.load('current', {packages: ['corechart', 'line']);google.charts.setOnLoadCallback( drawChart );
function drawChart() {
I can't tell from what you attached exactly what is going on. There are many changes in the URLs and we didn't get the js files, so this doesn't help figure out what is going on. Could you point to the page itself? Private email to me if you would prefer not to make it public.
On Mon, Oct 31, 2016 at 11:39 AM, Chris Randall <paladi...@gmail.com> wrote:
Hey Daniel,Thanks for the reply, I've attached the page that it's being loaded in to. The chart should be getting attached to div with id "resppie_1".Cheers
--
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/6d4e9350-b27d-4a8c-89d5-f9c9932e9a76%40googlegroups.com.
Hello,I'd like to add my two cents on this matter.I had the same error message on my code, when I was trying to use a line chart library. I had attached the line drawing into a link, so if the user clicked the link twice, the chart would get drawn twice... What was weird in this, was that on the first click I got the error and no chart, but on the second click the page would display the chart correctly without any errors.After a long(ish) debugging I managed to pinpoint the problem into following lines:google.charts.load('current', {packages: ['corechart', 'line']);google.charts.setOnLoadCallback( drawChart(loc) );And the drawChart-function started as follows:function drawChart(loc) {What I found out was that the line google.charts.setOnloadCallback doesn't accept parameters to the function for some reason... So to correct my problem I changed the code as follows:google.charts.load('current', {packages: ['corechart', 'line']);google.charts.setOnLoadCallback( drawChart );And the drawChart -function start:function drawChart() {After this the page didn't give the 'Uncaught TypeError: google.visualization.DataTable is not a constructor(…)' text anymore.Hope this helps someone else, troubling with the same issue.
On Monday, 31 October 2016 17:50:12 UTC+2, Daniel LaLiberte wrote:
I can't tell from what you attached exactly what is going on. There are many changes in the URLs and we didn't get the js files, so this doesn't help figure out what is going on. Could you point to the page itself? Private email to me if you would prefer not to make it public.
On Mon, Oct 31, 2016 at 11:39 AM, Chris Randall <paladi...@gmail.com> wrote:
Hey Daniel,Thanks for the reply, I've attached the page that it's being loaded in to. The chart should be getting attached to div with id "resppie_1".Cheers
--
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/6d4e9350-b27d-4a8c-89d5-f9c9932e9a76%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/9692da2e-b9bf-4ec0-b229-96d7b0f4123e%40googlegroups.com.
Hi Daniel,