I’m using the ember-cli-chart library. I’m able to set global configurations like this:
setGlobalChartConfig: Ember.on('init', function() {
Chart.defaults.global.animation = false;
})
But ofcourse this will render this message:
controllers/application.js: line 6, col 5, 'Chart' is not defined.
What’s the best way to prevent this message from showing?