Skip to content

Commit cca9568

Browse files
Only require customLegendElement (#120)
1 parent 3757bb3 commit cca9568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/ember-chart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default Component.extend({
5555
chart.update(0);
5656
}
5757

58-
if (options.legendCallback && this.customLegendElement) {
58+
if (this.customLegendElement) {
5959
this.customLegendElement.innerHTML = chart.generateLegend();
6060
}
6161
}

0 commit comments

Comments
 (0)