Skip to content

Commit 0f3badb

Browse files
committed
parcoords tickvals documentation mentions non-existant tickmode property
1 parent 5c65832 commit 0f3badb

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)