diff --git a/src/core/core.scale.js b/src/core/core.scale.js index 29134180cae..b4553a86afd 100644 --- a/src/core/core.scale.js +++ b/src/core/core.scale.js @@ -448,7 +448,7 @@ var Scale = Element.extend({ // Compute tick rotation and fit using a sampled subset of labels // We generally don't need to compute the size of every single label for determining scale size - samplingEnabled = sampleSize > ticks.length; + samplingEnabled = sampleSize < ticks.length; labels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks); // _configure is called twice, once here, once from core.controller.updateLayout.