Skip to content

Commit

Permalink
Convert ticks to labels
Browse files Browse the repository at this point in the history
  • Loading branch information
desean1625 committed Oct 12, 2018
1 parent 37c0beb commit 2cdb2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ module.exports = Element.extend({
var me = this;
var context = me.ctx;
var tickOpts = me.options.ticks;
var labels = tickOpts.autoSkip ? me._autoSkip(me.getTicks()) : me.getTicks();
var labels = tickOpts.autoSkip ? labelsFromTicks(me._autoSkip(me.getTicks())) : labelsFromTicks(me.getTicks());

// Get the width of each grid by calculating the difference
// between x offsets between 0 and 1.
Expand Down

0 comments on commit 2cdb2f8

Please sign in to comment.