Hey Dan, Testing loader and version 45.2 works fine for me now.
Have you documented the new stuff in 45.2, in terms of enhancements to the existing charts? Regards, Nick On Sunday, May 28, 2017 at 12:51:10 AM UTC+1, Daniel LaLiberte wrote: > > Hi Nick, > > Seems to work fine for me, even outside of Google. See: > https://jsfiddle.net/vj6gzskr/ > Can you provide an example that shows the failure you are seeing? > > Version 45.2 won't work with the old loader, and I probably won't try to > make it work since the old loader is going away anyway. > > On Sat, May 27, 2017 at 2:00 PM, Nick Dunbar <[email protected] > <javascript:>> wrote: > >> Dan >> It doesn't work. >> >> I just tried >> <script type="text/javascript" src=" >> https://www.gstatic.com/charts/testing-loader.js"></script> >> <script type="text/javascript"> >> google.charts.load('45.2', {packages: ['treemap','corechart', 'controls', >> 'table']}); >> google.charts.setOnLoadCallback(drawChart); >> >> ...and got a blank screen in Safari. >> >> If I used the old loader with version 45.2 I got this error >> >> TypeError: d is not a function. (In 'd(a,c)', 'd' is null) >> >> Regards, >> Nick >> >> On Friday, May 26, 2017 at 7:10:57 PM UTC+1, Daniel LaLiberte wrote: >>> >>> Hello Google Charts users, >>> >>> I have made available a new version of the loader, called >>> testing-loader.js, that affects loading of all versions on the gstatic >>> server. I would appreciate if you could try it out before I make it the >>> official loader. >>> >>> To try it, all you have to do is change 'loader.js' to >>> 'testing-loader.js', and reload your page. >>> >>> This testing version is only temporary, however, so after you try it >>> out, please revert to the normal loader.js, which will be updated with this >>> new version after a couple weeks of testing. >>> >>> I'm particularly interested in whether there is any regression for any >>> of the browsers we support and any of the more complex loading >>> configurations. >>> >>> What's new in this loader? From our standpoint, it is almost completely >>> rewritten to be much more maintainable. More interesting for users, it >>> augments the callback mechanism with JavaScript's Promises. So now you can >>> do this: >>> >>> <script type="text/javascript" src=" >>> https://www.gstatic.com/charts/testing-loader.js"></script> >>> <script> >>> google.charts.load('current', { packages: ['corechart'] >>> }).then(drawChart); >>> function drawChart() { ... } >>> </script> >>> >>> If you are using any of the earlier versions, 41-44, you are still >>> limited to only one load call. But the Promise mechanism works for them as >>> well, if that helps. >>> >>> And if you are feeling adventurous, there is a new version you can try >>> now, 45.2, which I will begin releasing soon after the loader change is >>> finished. >>> >>> -- >>> 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] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/cba78fa4-a383-448a-88af-c55f68651335%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/cba78fa4-a383-448a-88af-c55f68651335%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] <javascript:> 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/62684601-bce8-46e7-a1a5-a8ddd343bcb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
