Releases: sir-dunxalot/ember-google-charts
Releases · sir-dunxalot/ember-google-charts
Resize event fix
- #67 - Fix handling of window resize event, to add responsiveness to charts (fixes #66). Thank you @eduardoweiland.
Dependency updates
- #58 - Fix google visualization undefined error (fixes #56)
- #59
- Updated dependencies to latest Ember CLI version
- Moved Google Charts lib from
body-footertoheaddue to some third-party change in either Google Charts or Google Chrome - Fixes ESLint errors (mostly the errors were showing because of old Ember syntax like
this.get('type') - Updates documentation and tests to current Ember syntax
- Fixed broken assets on demo site
- Updated Google Charts iframe demo URL on homepage
- Updated logo path in nav
- Added Favicon
Test helpers, design attribute, DataTable support, and GoogleChart service defaultOptions
- #40 - Moves
defaultOptionsfrom theGoogleChartcomponent to theGoogleChartservice to fix component inheritance issues (documentation) - #51 -Adds
renderChart()test helper (documentation) - #51 -Adds
assertChart()test helper (documentation) - #52 - Adds
designattribute to chart components.designcan be'material'or'classic', depending on Google Charts support for each type. Defaults to'material'where possible (documentation) - #52 -Deprecates
renderMaterialChart()andrenderClassicChart()utils in favor of a unifiedrenderChart()helper - #50 - Allows data to be passed into chart components as a Google DataTable:
import Route from '@ember/routing/route';
export default Route.extend({
model() {
return window.google.visualization.arrayToDataTable([
['Year', 'Sales', 'Expenses'],
['2004', 1000, 400],
['2005', 1170, 460],
], false);
},
});Ember 3 & Ember CLI 3 support
Dev environment improvements
Updated Ember CLI environment
- #35 - Ember CLI environment upgraded to 2.11.1
1.5.1
1.5.0
1.4.0
New Google Loader and Locales
- Upgrades the library to use the new charts loading method as described here.
- Adds locales, added by #15.
- Fixes #5 dues to the dependency update.