diff --git a/addon/components/ember-chart.js b/addon/components/ember-chart.js index 3b58073..5742167 100644 --- a/addon/components/ember-chart.js +++ b/addon/components/ember-chart.js @@ -55,7 +55,7 @@ export default Component.extend({ chart.update(0); } - if (options.legendCallback && this.customLegendElement) { + if (this.customLegendElement) { this.customLegendElement.innerHTML = chart.generateLegend(); } }