Closed adamscottv closed 2 months ago
I don't think loading Google Charts from NPM is possible. If it is and Google Charts themselves claim it is a valid option, I'd be happy to accept a PR.
Hi could you help me. I'm getting the error: ERROR TypeError: "c is undefined":
in FireFox:
ERROR TypeError: c is undefined zc https://www.gstatic.com/charts/loader.js:147 zc https://www.gstatic.com/charts/loader.js:147 Ec https://www.gstatic.com/charts/loader.js:149 load https://www.gstatic.com/charts/loader.js:150 loadChartPackages http://localhost:4200/main.js:5
https://stackoverflow.com/questions/68702683/google-charts-error-typeerror-c-is-undefined
in Chrome:
ERROR TypeError: Cannot read properties of undefined (reading 'toLowerCase') at loader.js:147:125 at Array.forEach (
) at zc (loader.js:147:101) at Ec (loader.js:149:332) at Object.J.load (loader.js:150:230) at t._subscribe (main.js:5:11901) at t._trySubscribe (main.js:1:3147362) at main.js:1:3147285 at ot (main.js:1:3145170) at t.subscribe (main.js:1:3147203)
I'm using version 2.0.1, and I get this error from angular-google-charts.js line 122. It's trying to access gstatic.com to load the script, but that URL cannot be accessed from my environment. Is there a way to load this as an npm dependency?