Skip to content

Commit e91bd55

Browse files
committed
do not allow steps on multicategory and log axes
1 parent ad2b9a0 commit e91bd55

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/plots/cartesian/tick_label_defaults.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ module.exports = function handleTickLabelDefaults(containerIn, containerOut, coe
2828
color: dfltFontColor
2929
});
3030

31-
if(!options.noTicklabelstep) coerce('ticklabelstep');
31+
if(
32+
!options.noTicklabelstep &&
33+
axType !== 'multicategory' &&
34+
axType !== 'log'
35+
) {
36+
coerce('ticklabelstep');
37+
}
3238

3339
if(!options.noAng) coerce('tickangle');
3440

0 commit comments

Comments
 (0)