'Daniel LaLiberte' via Google Visualization API
2015-07-28 12:10:46 UTC
*Introducing Frozen Google Charts*
When we push out new releases of Google Charts, some of the changes are
big, like entirely new chart types, but other changes are small, like
enhancements to the appearance or behavior of existing charts.
Many Google Chart creators fine-tune the look and feel of their charts
until it's exactly what they want. Some of those users might feel more
comfortable knowing that their charts will never change, regardless of what
improvements we make in the future. For those users, we're proud to
announce Frozen Google Charts.
To load a frozen version, you must make some small changes in how you load
the Google Charts packages. For example, here is the usual way of loading
the stable version and drawing a chart:
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('visualization', '1', {packages: ['corechart']});
google.setOnLoadCallback(drawChart);
</script>
You'll need to change your code to be like this (changes highlighted in
bold):
<script type="text/javascript"
src="*https://www.gstatic.com/charts/loader.js*
<https://www.gstatic.com/charts/loader.js>"></script>
<script type="text/javascript">
*google.charts.load(**'41'**,* {packages: ['corechart']});
*google.charts.setOnLoadCallback*(drawChart);
</script>
Note that when you call google.charts.load(), you should not include the
âvisualizationâ parameter, and the version number is a string. Only
version â41â is supported at this time, which corresponds to the current
stable release, and additional frozen versions will be announced as we push
out each new stable release. More details about using the frozen version
loader will be available here
<https://google-developers.appspot.com/chart/interactive/docs/library_loading_enhancements>
.
When you use a frozen version of Google Charts, all charts and features
should work the same as for the stable version it was created from. But there
are two minor, though important, limitations with loading frozen versions,
which we expect to resolve in the near future.
1. You can only call google.charts.load() one time. You can instead
list all the packages that you'll need in one call, so there is usually no
need to make separate calls.
2. If you are using a ChartWrapper, you must explicitly load all the
packages you'll need rather than relying on the ChartWrapper to
automatically load them for you.
We expect that frozen versions will remain available indefinitely, though
we may retire frozen versions that have security concerns. We will
typically not provide support for frozen versions, except to suggest
upgrading to newer versions.
Even if you don't plan to use the frozen version 41, it would help us if
you could try it now with your charts and please let us know if you
experience any problems.
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> -
978-394-1058
***@Google.com <***@google.com> 5CC, Cambridge MA
***@GMail.com <***@gmail.com> 9 Juniper Ridge
Road, Acton MA
When we push out new releases of Google Charts, some of the changes are
big, like entirely new chart types, but other changes are small, like
enhancements to the appearance or behavior of existing charts.
Many Google Chart creators fine-tune the look and feel of their charts
until it's exactly what they want. Some of those users might feel more
comfortable knowing that their charts will never change, regardless of what
improvements we make in the future. For those users, we're proud to
announce Frozen Google Charts.
To load a frozen version, you must make some small changes in how you load
the Google Charts packages. For example, here is the usual way of loading
the stable version and drawing a chart:
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('visualization', '1', {packages: ['corechart']});
google.setOnLoadCallback(drawChart);
</script>
You'll need to change your code to be like this (changes highlighted in
bold):
<script type="text/javascript"
src="*https://www.gstatic.com/charts/loader.js*
<https://www.gstatic.com/charts/loader.js>"></script>
<script type="text/javascript">
*google.charts.load(**'41'**,* {packages: ['corechart']});
*google.charts.setOnLoadCallback*(drawChart);
</script>
Note that when you call google.charts.load(), you should not include the
âvisualizationâ parameter, and the version number is a string. Only
version â41â is supported at this time, which corresponds to the current
stable release, and additional frozen versions will be announced as we push
out each new stable release. More details about using the frozen version
loader will be available here
<https://google-developers.appspot.com/chart/interactive/docs/library_loading_enhancements>
.
When you use a frozen version of Google Charts, all charts and features
should work the same as for the stable version it was created from. But there
are two minor, though important, limitations with loading frozen versions,
which we expect to resolve in the near future.
1. You can only call google.charts.load() one time. You can instead
list all the packages that you'll need in one call, so there is usually no
need to make separate calls.
2. If you are using a ChartWrapper, you must explicitly load all the
packages you'll need rather than relying on the ChartWrapper to
automatically load them for you.
We expect that frozen versions will remain available indefinitely, though
we may retire frozen versions that have security concerns. We will
typically not provide support for frozen versions, except to suggest
upgrading to newer versions.
Even if you don't plan to use the frozen version 41, it would help us if
you could try it now with your charts and please let us know if you
experience any problems.
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> -
978-394-1058
***@Google.com <***@google.com> 5CC, Cambridge MA
***@GMail.com <***@gmail.com> 9 Juniper Ridge
Road, Acton 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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To post to this group, send email to google-visualization-***@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.