I just put the entire webpage in a fiddle and it worked fine. Maybe the domain was banned from using it? Is there any restrictions on using it, I thought there was only restrictions on having it displayed on their gallery. I have used other Google APIs like translate with no problems on this domain.
On Saturday, September 19, 2020 at 12:50:16 PM UTC-4 Daniel LaLiberte wrote: > It's working fine for me: https://jsfiddle.net/dlaliberte/hsuft0k1/ > Can you point to your web page, in case there is something different about > it? > > On Sat, Sep 19, 2020 at 11:53 AM Sean Noble <[email protected]> wrote: > >> This code has worked without issue and now a few days ago it stopped? >> There is nothing in the error log and just on the div itself in Chrome it >> says "Cannot read property 'd' of undefined" and Firefox says "b is >> undefined". >> >> >> <div id="curve_chart"></div> >> <script type="text/javascript" src=" >> https://www.gstatic.com/charts/loader.js"></script> >> >> <script type="text/javascript"> >> google.charts.load('current', {'packages':['corechart', 'line']}); >> google.charts.setOnLoadCallback(drawChart); >> >> function drawChart() { >> var data = google.visualization.arrayToDataTable([ >> ["Day", "New Signups (Week of Sep 14th)"], >> ['Mon', 148], >> ['Tue', 128], >> ['Wed', 133], >> ['Thu', 128], >> ['Fri', 133], >> ['Sat', 48], >> ['Sun', 0] >> ]); >> >> >> >> >> var options = { >> title: 'Company Performance', >> //curveType: 'function', >> legend: { position: 'bottom' } >> }; >> >> var chart = new >> google.visualization.LineChart(document.getElementById('curve_chart')); >> >> chart.draw(data, options); >> >> } >> >> </script> >> >> -- >> 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/3e5d0e2e-faf1-48f5-85ee-df63dab9a02dn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/3e5d0e2e-faf1-48f5-85ee-df63dab9a02dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > [email protected] Cambridge MA > > -- 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/406e27d3-b9b9-4e8d-b33f-aba08a1b5053n%40googlegroups.com.
