Releases: GoogleWebComponents/google-chart
1.0.3
1.0.2
v1.0.1
1.0.0
1.0.0
0.2.1
This version of <google-chart>
fixes an issue after the rename of the web component polyfills, and updates dependencies to more recent minor versions.
Thanks, @ebidel!
Installation
bower install GoogleWebComponents/google-chart
Changelog
~ Sérgio.
0.2.0 abstract-area
This version of <google-chart>
depends on Polymer 0.5.0 and the updated <core-ajax>
and <google-apis>
.
It also fixes an issue with the google-chart-render
event not firing. Thanks, @ukabu!
Installation
bower install GoogleWebComponents/google-chart
Changelog
- c2ea1c0 Fix google-chart-render event not firing
- a2c0759 Update dependencies in line with Polymer 0.5.0 release
~ Sérgio.
0.1.0 rhymeless-name
This version of <google-chart>
introduces a breaking change, so that the height and width of the element are now specified through styling:
<style>
google-chart {
height: 300px;
width: 400px;
}
</style>
It also exposes the drawChart
method, which can be used to redraw the graph when necessary, e.g. in response to switching to a different page layout:
<style>
/* Phone and tablet */
#resizing_chart {
height: 300px;
width: 400px;
}
/* Desktop */
@media screen and (min-width: 1024px) {
#resizing_chart {
width: 800px;
}
}
</style>
<script>
var media = window.matchMedia('(min-width: 1024px)');
media.addListener(function() {
document.getElementById('resizing_chart').drawChart();
});
</script>
<google-chart id="resizing_chart"></google-chart>
Installation
bower install GoogleWebComponents/google-chart
Changelog
- 669d003 Improve description of the element.
- 8e93336 Removing initialization with fixed height and width.
- a7b6d91 Switching to style attributes for height and width.
~ Sérgio.
0.0.2 offbeat-favorite-pre.
This version of <google-chart>
updates the element to Polymer 0.4.x elements and includes a number of bug fixes. It also adds support for DataTables and a geo
chart type:
Installation
bower install GoogleWebComponents/google-chart
Changelog
- a4634c7 Update to 0.4.x dependencies.
- 30be934 Standardize format
- 97a4494 polymer.html should be included in the element
- 302980c Add support for the native DataTable format.
- 79ce6f3 Add support for chart type geo.
~ Addy.