We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c991d commit 3cb308dCopy full SHA for 3cb308d
src/core/core.scale.js
@@ -448,7 +448,7 @@ var Scale = Element.extend({
448
449
// Compute tick rotation and fit using a sampled subset of labels
450
// We generally don't need to compute the size of every single label for determining scale size
451
- samplingEnabled = sampleSize > ticks.length;
+ samplingEnabled = sampleSize < ticks.length;
452
labels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks);
453
454
// _configure is called twice, once here, once from core.controller.updateLayout.
0 commit comments