Skip to content

Commit 0a80d24

Browse files
committed
Restrict drawminorticklabel to period axes
1 parent 35a7f51 commit 0a80d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/axis_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = function handleAxisDefaults(containerIn, containerOut, coerce,
5959
}
6060
}
6161

62-
if(!options.noDrawminorticklabel && axType !== 'category' && axType !== 'multicategory' && axType !== 'log') {
62+
if(!options.noDrawminorticklabel && axType === 'date' && containerOut.ticklabelmode === 'period') {
6363
coerce('drawminorticklabel');
6464
}
6565

0 commit comments

Comments
 (0)