We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c643cd commit 68f94cbCopy full SHA for 68f94cb
src/plots/gl3d/layout/convert.js
@@ -91,7 +91,9 @@ proto.merge = function(sceneLayout) {
91
if ('gridcolor' in axes) opts.gridColor[i] = str2RgbaArray(axes.gridcolor);
92
if ('gridwidth' in axes) opts.gridWidth[i] = axes.gridwidth;
93
94
- if ('zeroline' in axes) opts.zeroEnable[i] = axes.zeroline;
+ // Remove zeroline if axis type is log //
95
+ if (axes.type === 'log') opts.zeroEnable[i] = false;
96
+ else if ('zeroline' in axes) opts.zeroEnable[i] = axes.zeroline;
97
if ('zerolinecolor' in axes) opts.zeroLineColor[i] = str2RgbaArray(axes.zerolinecolor);
98
if ('zerolinewidth' in axes) opts.zeroLineWidth[i] = axes.zerolinewidth;
99
test/image/baselines/gl3d_log-axis-big.png
-75 Bytes
test/image/baselines/gl3d_log-axis.png
-173 Bytes
0 commit comments