Skip to content

Commit c9b377d

Browse files
authored
Merge pull request #3925 from plotly/fix3313-parcoords-doc-no-tickmode
Correct parcoords tickvals and ticktext documentation - no tickmode property
2 parents 5c65832 + 0f3badb commit c9b377d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/traces/parcoords/attributes.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@ module.exports = {
4141
},
4242
// TODO: better way to determine ordinal vs continuous axes,
4343
// so users can use tickvals/ticktext with a continuous axis.
44-
tickvals: extendFlat({}, axesAttrs.tickvals, {editType: 'calc'}),
45-
ticktext: extendFlat({}, axesAttrs.ticktext, {editType: 'calc'}),
44+
tickvals: extendFlat({}, axesAttrs.tickvals, {
45+
editType: 'calc',
46+
description: [
47+
'Sets the values at which ticks on this axis appear.'
48+
].join(' ')
49+
}),
50+
ticktext: extendFlat({}, axesAttrs.ticktext, {
51+
editType: 'calc',
52+
description: [
53+
'Sets the text displayed at the ticks position via `tickvals`.'
54+
].join(' ')
55+
}),
4656
tickformat: {
4757
valType: 'string',
4858
dflt: '3s',

0 commit comments

Comments
 (0)