No, I mean I wonder if my domain is banned from using this. Is there a way to check if my domain was banned?
On Saturday, September 19, 2020 at 2:21:35 PM UTC-4 Daniel LaLiberte wrote: > Are you asking if the gstatic.com domain was banned? That's where the > loader and all of the Google Charts API is loaded from. > > The error you reported suggests that you are getting a mix of different > incompatible versions, perhaps due to caching, or something else going on > in your web page or browser. > > You don't need both 'corechart' and 'line' by the way. You are using > LineChart, which is a corechart, whereas the material chart called 'Line' > is in the 'line' package. This shouldn't cause any version conflict, > however, so the error makes me suspicious of what else is going on. > > On Sat, Sep 19, 2020 at 1:44 PM Sean Noble <lepra...@gmail.com> wrote: > >> 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 <lepra...@gmail.com> 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 google-visualizati...@googlegroups.com. >>>> 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> >>> dlalibe...@google.com 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 google-visualizati...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/406e27d3-b9b9-4e8d-b33f-aba08a1b5053n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/406e27d3-b9b9-4e8d-b33f-aba08a1b5053n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > dlalibe...@google.com 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 google-visualization-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/b0e2b5ab-870b-4d6d-b31e-422bf9e56486n%40googlegroups.com.