Skip to content

Commit

Permalink
Remove unused and incorrect plugin hook param (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed Aug 2, 2021
1 parent 9df0062 commit cdc2e94
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,8 @@ export default {
});
},

afterUpdate: function(chart, options) {
chart[EXPANDO_KEY]._labels = layout.prepare(
chart[EXPANDO_KEY]._datasets,
options);
afterUpdate: function(chart) {
chart[EXPANDO_KEY]._labels = layout.prepare(chart[EXPANDO_KEY]._datasets);
},

// Draw labels on top of all dataset elements
Expand Down

0 comments on commit cdc2e94

Please sign in to comment.