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] <[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/CAOtcSJOwsiNcr_Ph9RQ-5F9-zH_wXF1jrg8FQD8AnTnUyPkYXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to