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) {
2977
2977
var isXaxis = ax . _id . charAt ( 0 ) === 'x' ;
2978
2978
var isYaxis = ! isXaxis ;
2979
2979
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 ;
2982
2982
2983
2983
if ( runoff ) {
2984
2984
var runoffSign = isReversed ? - 1 : 1 ;
2985
2985
runoff = runoff * runoffSign ;
2986
2986
}
2987
2987
if ( standoff ) {
2988
2988
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 ;
2993
2993
standoff = standoff * standoffSign ;
2994
2994
}
2995
2995
return isXaxis ?
You can’t perform that action at this time.
0 commit comments