I am trying to get charts in my ember-cli project using google charts.I included the addon with the below command.
ember install ember-google-charts
app/templates/application.hbs
{{pie-chart data=data }}
app/routes/application.js
import Ember from 'ember';
export default Ember.Route.extend({
model() {
return [
['Task', 'Hours per Day'],
['Work', 11],
['Eat', 2],
['Commute', 2],
['Watch TV', 2],
['Sleep', 7],
];
},
});
but in the browser no chart is displayed is that i have to include any other files???
please help me.......