Skip to content

Commit 272534c

Browse files
committed
jumpLabel > skipLabel
1 parent 87e3340 commit 272534c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plots/cartesian/axes.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
877877
};
878878

879879
if(skipticklabels && (id % (skipticklabels + 1))) {
880-
obj.jumpLabel = true;
880+
obj.skipLabel = true;
881881
}
882882

883883
tickVals.push(obj);
@@ -946,8 +946,8 @@ axes.calcTicks = function calcTicks(ax, opts) {
946946
_minor // noSuffixPrefix
947947
);
948948

949-
if(tickVals[i].jumpLabel) {
950-
t.jumpLabel = true;
949+
if(tickVals[i].skipLabel) {
950+
t.skipLabel = true;
951951
}
952952

953953
p = tickVals[i].periodX;
@@ -2991,7 +2991,7 @@ axes.drawLabels = function(gd, ax, opts) {
29912991
var cls = opts.cls || axId + 'tick';
29922992

29932993
var vals = ax.skipticklabels ?
2994-
opts.vals.filter(function(d) { return !d.jumpLabel; }) :
2994+
opts.vals.filter(function(d) { return !d.skipLabel; }) :
29952995
opts.vals;
29962996

29972997
var labelFns = opts.labelFns;

0 commit comments

Comments
 (0)