Skip to content

Commit

Permalink
Add axis to callback
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Aug 11, 2017
1 parent 1eeffa3 commit b7ad1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scale.js
Expand Up @@ -298,7 +298,7 @@ module.exports = function(Chart) {
var me = this;
// Convert ticks to strings
var tickOpts = me.options.ticks;
me.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback);
me.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, [this]);
},
afterTickToLabelConversion: function() {
helpers.callback(this.options.afterTickToLabelConversion, [this]);
Expand Down

0 comments on commit b7ad1da

Please sign in to comment.