Skip to content

Commit a580821

Browse files
committed
Update ticklabelindex description after allowing linear and date axes.
1 parent e328c9f commit a580821

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ module.exports = {
726726
valType: 'integer',
727727
editType: 'calc',
728728
description: [
729-
'Only for date axes with `ticklabelmode` *period*.',
729+
'Only for axes with `type` *date* or *linear*.',
730730
'Instead of drawing the major tick label, draw the label for the minor tick',
731731
'that is n positions away from the major tick. E.g. to always draw the label for the',
732732
'minor tick before each major tick, choose `ticklabelindex` -1'

test/plot-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15117,7 +15117,7 @@
1511715117
"role": "object"
1511815118
},
1511915119
"ticklabelindex": {
15120-
"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 `ticklabelindex` -1",
15120+
"description": "Only for axes with `type` *date* or *linear*. 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 `ticklabelindex` -1",
1512115121
"editType": "calc",
1512215122
"valType": "integer"
1512315123
},
@@ -16443,7 +16443,7 @@
1644316443
"role": "object"
1644416444
},
1644516445
"ticklabelindex": {
16446-
"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 `ticklabelindex` -1",
16446+
"description": "Only for axes with `type` *date* or *linear*. 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 `ticklabelindex` -1",
1644716447
"editType": "calc",
1644816448
"valType": "integer"
1644916449
},

0 commit comments

Comments
 (0)