Skip to content

Commit 535cf58

Browse files
authored
Merge pull request #104 from jandillmann/patch-1
Fix updating chart data and options
2 parents 4fc5d19 + b21a719 commit 535cf58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/components/ember-chart.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export default Ember.Component.extend({
3737
let animate = this.get('animate');
3838

3939
if (chart) {
40-
chart.config.data = data;
41-
chart.config.options = options;
40+
chart.data = data;
41+
chart.options = options;
4242
if (animate) {
4343
chart.update();
4444
} else {

0 commit comments

Comments
 (0)