Skip to content

Commit ee2d648

Browse files
committed
rename transFn function in cartesian axes
1 parent a9d9140 commit ee2d648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/plots/cartesian/axes.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ axes.drawOne = function(gd, ax, opts) {
20422042

20432043
if(!ax.visible) return;
20442044

2045-
var transFn = axes.makeTransTickFn(ax);
2045+
var transTickFn = axes.makeTransTickFn(ax);
20462046
var transTickLabelFn = ax.ticklabelmode === 'period' ?
20472047
axes.makeTransPeriodFn(ax) :
20482048
axes.makeTransTickFn(ax);
@@ -2092,13 +2092,13 @@ axes.drawOne = function(gd, ax, opts) {
20922092
counterAxis: counterAxis,
20932093
layer: plotinfo.gridlayer.select('.' + axId),
20942094
path: gridPath,
2095-
transFn: transFn
2095+
transFn: transTickFn
20962096
});
20972097
axes.drawZeroLine(gd, ax, {
20982098
counterAxis: counterAxis,
20992099
layer: plotinfo.zerolinelayer,
21002100
path: gridPath,
2101-
transFn: transFn
2101+
transFn: transTickFn
21022102
});
21032103
}
21042104
}
@@ -2135,7 +2135,7 @@ axes.drawOne = function(gd, ax, opts) {
21352135
vals: tickVals,
21362136
layer: mainAxLayer,
21372137
path: tickPath,
2138-
transFn: transFn
2138+
transFn: transTickFn
21392139
});
21402140

21412141
if(ax.mirror === 'allticks') {
@@ -2155,7 +2155,7 @@ axes.drawOne = function(gd, ax, opts) {
21552155
vals: tickVals,
21562156
layer: plotinfo[axLetter + 'axislayer'],
21572157
path: spTickPath,
2158-
transFn: transFn
2158+
transFn: transTickFn
21592159
});
21602160
}
21612161

@@ -2187,7 +2187,7 @@ axes.drawOne = function(gd, ax, opts) {
21872187
cls: axId + 'tick2',
21882188
repositionOnUpdate: true,
21892189
secondary: true,
2190-
transFn: transFn,
2190+
transFn: transTickFn,
21912191
labelFns: axes.makeLabelFns(ax, mainLinePosition + standoff * tickSigns[4])
21922192
});
21932193
});
@@ -2199,7 +2199,7 @@ axes.drawOne = function(gd, ax, opts) {
21992199
vals: dividerVals,
22002200
layer: mainAxLayer,
22012201
path: axes.makeTickPath(ax, mainLinePosition, tickSigns[4], ax._depth),
2202-
transFn: transFn
2202+
transFn: transTickFn
22032203
});
22042204
});
22052205
} else if(ax.title.hasOwnProperty('standoff')) {

0 commit comments

Comments
 (0)