Skip to content

Commit dd639bc

Browse files
authored
Merge branch 'master' into master
2 parents e44dc24 + 535cf58 commit dd639bc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

addon/components/ember-chart.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ export default Component.extend({
3535
let data = this.get('data');
3636
let options = this.get('options');
3737
let animate = this.get('animate');
38-
39-
if (chart) {
40-
chart.config.data = data;
41-
chart.config.options = options;
42-
if (animate) {
43-
chart.update();
44-
} else {
45-
chart.update(0);
46-
}
47-
}
38+
39+
if (chart) {
40+
chart.data = data;
41+
chart.options = options;
42+
if (animate) {
43+
chart.update();
44+
} else {
45+
chart.update(0);
46+
}
47+
}
4848
}
4949
});

0 commit comments

Comments
 (0)