Skip to content

Commit 94878cb

Browse files
committed
Split option noTicklabelrunoffstandoff → noTicklabelrunoff, noTicklabelstandoff
1 parent 4b62652 commit 94878cb

File tree

8 files changed

+20
-8
lines changed

8 files changed

+20
-8
lines changed

src/components/colorbar/defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) {
111111
var font = layout.font;
112112
var opts = {
113113
noAutotickangles: true,
114-
noTicklabelrunoffstandoff: true,
114+
noTicklabelrunoff: true,
115+
noTicklabelstandoff: true,
115116
outerTicks: false,
116117
font: font
117118
};

src/plots/cartesian/tick_label_defaults.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ module.exports = function handleTickLabelDefaults(containerIn, containerOut, coe
1616

1717
var showTickLabels = coerce('showticklabels');
1818
if(showTickLabels) {
19-
if(!options.noTicklabelrunoffstandoff) {
19+
if(!options.noTicklabelrunoff) {
2020
coerce('ticklabelrunoff');
21+
}
22+
if(!options.noTicklabelstandoff) {
2123
coerce('ticklabelstandoff');
2224
}
2325
var font = options.font || {};

src/plots/gl3d/layout/axis_defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, options) {
4444
noAutotickangles: true,
4545
noTickson: true,
4646
noTicklabelmode: true,
47-
noTicklabelrunoffstandoff: true,
47+
noTicklabelrunoff: true,
48+
noTicklabelstandoff: true,
4849
noTicklabelstep: true,
4950
noTicklabelposition: true,
5051
noTicklabeloverflow: true,

src/plots/polar/layout_defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ function handleDefaults(contIn, contOut, coerce, opts) {
187187
family: dfltFontFamily
188188
},
189189
noAutotickangles: axName === 'angularaxis',
190-
noTicklabelrunoffstandoff: true
190+
noTicklabelrunoff: true,
191+
noTicklabelstandoff: true
191192
});
192193

193194
handleTickMarkDefaults(axIn, axOut, coerceAxis, {outerTicks: true});

src/plots/smith/layout_defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ function handleDefaults(contIn, contOut, coerce, opts) {
9090

9191
handleTickLabelDefaults(axIn, axOut, coerceAxis, axOut.type, {
9292
noAutotickangles: true,
93-
noTicklabelrunoffstandoff: true,
93+
noTicklabelrunoff: true,
94+
noTicklabelstandoff: true,
9495
noTicklabelstep: true,
9596
noAng: !isRealAxis,
9697
noExp: true,

src/plots/ternary/layout_defaults.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ function handleAxisDefaults(containerIn, containerOut, options, ternaryLayoutOut
9191

9292
handleTickValueDefaults(containerIn, containerOut, coerce, 'linear');
9393
handlePrefixSuffixDefaults(containerIn, containerOut, coerce, 'linear');
94-
handleTickLabelDefaults(containerIn, containerOut, coerce, 'linear', { noAutotickangles: true, noTicklabelrunoffstandoff: true });
94+
handleTickLabelDefaults(containerIn, containerOut, coerce, 'linear', {
95+
noAutotickangles: true,
96+
noTicklabelrunoff: true,
97+
noTicklabelstandoff: true
98+
});
9599
handleTickMarkDefaults(containerIn, containerOut, coerce,
96100
{ outerTicks: true });
97101

src/traces/carpet/ab_defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ function mimickAxisDefaults(traceIn, traceOut, fullLayout, dfltColor) {
3131

3232
var defaultOptions = {
3333
noAutotickangles: true,
34-
noTicklabelrunoffstandoff: true,
34+
noTicklabelrunoff: true,
35+
noTicklabelstandoff: true,
3536
noTicklabelstep: true,
3637
tickfont: 'x',
3738
id: axLetter + 'axis',

src/traces/indicator/defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
133133
font: layout.font,
134134
noAutotickangles: true,
135135
outerTicks: true,
136-
noTicklabelrunoffstandoff: true
136+
noTicklabelrunoff: true,
137+
noTicklabelstandoff: true
137138
};
138139
handleTickValueDefaults(axisIn, axisOut, coerceGaugeAxis, 'linear');
139140
handlePrefixSuffixDefaults(axisIn, axisOut, coerceGaugeAxis, 'linear', opts);

0 commit comments

Comments
 (0)