Skip to content

Commit 00971f1

Browse files
committed
Mention in description that drawminorticklabel only applies to period axes
1 parent e2493a6 commit 00971f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ module.exports = {
703703
valType: 'integer',
704704
editType: 'calc',
705705
description: [
706+
'Only for date axes with `ticklabelmode` *period*.',
706707
'Instead of drawing the major tick label, draw the label for the minor tick',
707708
'that is n positions away from the major tick. E.g. to always draw the label for the',
708709
'minor tick before each major tick, choose `drawminorticklabel` -1'

test/plot-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14098,7 +14098,7 @@
1409814098
"valType": "info_array"
1409914099
},
1410014100
"drawminorticklabel": {
14101-
"description": "Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `drawminorticklabel` -1",
14101+
"description": "Only for date axes with `ticklabelmode` *period*. Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `drawminorticklabel` -1",
1410214102
"editType": "calc",
1410314103
"valType": "integer"
1410414104
},
@@ -15729,7 +15729,7 @@
1572915729
"valType": "info_array"
1573015730
},
1573115731
"drawminorticklabel": {
15732-
"description": "Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `drawminorticklabel` -1",
15732+
"description": "Only for date axes with `ticklabelmode` *period*. Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `drawminorticklabel` -1",
1573315733
"editType": "calc",
1573415734
"valType": "integer"
1573515735
},

0 commit comments

Comments
 (0)