File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2977,19 +2977,19 @@ axes.makeTransTickLabelFn = function(ax) {
29772977 var isXaxis = ax . _id . charAt ( 0 ) === 'x' ;
29782978 var isYaxis = ! isXaxis ;
29792979 var isReversed = ax . range [ 0 ] > ax . range [ 1 ] ;
2980- var ticksInside = ax . ticklabelposition && ax . ticklabelposition . indexOf ( 'inside' ) !== - 1 ;
2981- var ticksOutside = ! ticksInside ;
2980+ var labelsInside = ax . ticklabelposition && ax . ticklabelposition . indexOf ( 'inside' ) !== - 1 ;
2981+ var labelsOutside = ! labelsInside ;
29822982
29832983 if ( runoff ) {
29842984 var runoffSign = isReversed ? - 1 : 1 ;
29852985 runoff = runoff * runoffSign ;
29862986 }
29872987 if ( standoff ) {
29882988 var standoffSign =
2989- isXaxis && ax . side === 'bottom' && ticksOutside ||
2990- isXaxis && ax . side === 'top' && ticksInside ||
2991- isYaxis && ax . side === 'right' && ticksOutside ||
2992- isYaxis && ax . side === 'left' && ticksInside ? 1 : - 1 ;
2989+ isXaxis && ax . side === 'bottom' && labelsOutside ||
2990+ isXaxis && ax . side === 'top' && labelsInside ||
2991+ isYaxis && ax . side === 'right' && labelsOutside ||
2992+ isYaxis && ax . side === 'left' && labelsInside ? 1 : - 1 ;
29932993 standoff = standoff * standoffSign ;
29942994 }
29952995 return isXaxis ?
You can’t perform that action at this time.
0 commit comments