I think have some kind of weird unicode / format problem with the Powershell / PowerCLI generating these HTML files. /sigh/
The loader.js shows like the below in dev tools... <https://lh3.googleusercontent.com/-rwUrxU2-Fk4/WT3MGlH1FOI/AAAAAAAAGzE/udEs5a2aPfQ6UgSZFNJZoKpa2EPSw06WACLcB/s1600/loader-unicode.png> On Sunday, June 11, 2017 at 5:48:59 PM UTC-5, Benjamin Fisher wrote: > > Chrome developer tools' console shows two errors: > > loader.js:1 Uncaught SyntaxError: Invalid or unexpected token > > datastore.html:6 Uncaught ReferenceError: google is not defined > at datastore.html:6 > > Line 6 is: google.charts.load('current', {'packages':['corechart']}); > > datastore.html: https://pastebin.com/Cnc2SLPC > > On Saturday, June 10, 2017 at 10:15:49 PM UTC-5, Daniel LaLiberte wrote: >> >> I converted your example into this jsfiddle: >> https://jsfiddle.net/9gwnguv3/ >> And it appears to work fine. Indeed, the jsapi code should not be >> loaded, though if you don't call google.load or google.setOnLoadCallback, >> it shouldn't make any difference. >> >> Hard to tell what might be happening with your version that is broken, >> but if you can look in the browser debugger to see if there are any error >> messages, that might help. I don't know that I can help much otherwise. >> >> On Sat, Jun 10, 2017 at 6:10 PM, Benjamin Fisher <[email protected]> >> wrote: >> >>> I just also took out the jsapi and left only loader.js with using: >>> >>> google.charts.load('current', {'packages':['corechart']}); >>> >>> But it hasn't helped. >>> >>> On Saturday, June 10, 2017 at 1:53:28 PM UTC-5, Daniel LaLiberte wrote: >>>> >>>> The loader was changed, as announced last week. All versions (on >>>> gstatic.com) could potentially be affected, but the versions are >>>> otherwise the same. >>>> >>>> Can you give us the details of how you are loading? Better yet, point >>>> us at an example web page that shows the failure. >>>> >>>> The docs on how to load Google Charts are here: >>>> https://developers.google.com/chart/interactive/docs/basic_load_libs >>>> >>>> On Sat, Jun 10, 2017 at 2:40 PM, Benjamin Fisher <[email protected]> >>>> wrote: >>>> >>>>> A few days ago I was messing with my first test of Google Charts. >>>>> >>>>> I created a test.html and testMulti.html displaying some utilization >>>>> and capacity over time for VMware datastores, using curved line graphs. >>>>> Worked great. I viewed them on a dedicated VDI desktop (Citrix) I use for >>>>> work. >>>>> >>>>> Today I created some new charts, with different filenames. >>>>> >>>>> None of them show up. They all show up in the table I made as properly >>>>> sized blocks but none of the chart date shows. >>>>> >>>>> I go back to my previous test.html and testMulti.html and those still >>>>> show up fine. >>>>> >>>>> I copy-paste the HTML exactly from test.html into my new file. It >>>>> still doesn't show up but the test.html still loads fine. >>>>> >>>>> Next, I backup test.html, rename the new file test.html instead. It >>>>> loads. I haven't yet checked if I change the data in the HTML file if the >>>>> chart will update or not. >>>>> >>>>> This all still on the same VDI desktop. >>>>> >>>>> FYI: If I copy/paste the HTML of the new file into a file on my actual >>>>> desktop machine, with its original name, it loads just fine. If I copy it >>>>> to a new filename it works. >>>>> >>>>> I have just cleared my cache in my browser on my VDI desktop. No >>>>> change. I still can't load the new file. >>>>> >>>>> The behavior however is the same in various browsers... it does not >>>>> load. >>>>> >>>>> Any thoughts as to what is going on here? >>>>> >>>>> -- >>>>> 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 post to this group, send email to [email protected]. >>>>> 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/4e5f59eb-1ba7-4c97-ab49-2cf02bc7a1ae%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/google-visualization-api/4e5f59eb-1ba7-4c97-ab49-2cf02bc7a1ae%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Daniel LaLiberte >>>> <https://plus.google.com/100631381223468223275?prsrc=2> >>>> [email protected] 5CC, 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 post to this group, send email to [email protected]. >>> 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/057cd56d-d329-43a9-9e3c-fbae2ad3886c%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/google-visualization-api/057cd56d-d329-43a9-9e3c-fbae2ad3886c%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >> [email protected] 5CC, 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 post to this group, send email to [email protected]. 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/90223c77-4749-4cec-a4c4-9068713fc05e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
