Skip to content

Commit

Permalink
Merge pull request #3925 from plotly/fix3313-parcoords-doc-no-tickmode
Browse files Browse the repository at this point in the history
Correct parcoords tickvals and ticktext documentation - no tickmode property
  • Loading branch information
archmoj authored May 31, 2019
2 parents 5c65832 + 0f3badb commit c9b377d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/traces/parcoords/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,18 @@ module.exports = {
},
// TODO: better way to determine ordinal vs continuous axes,
// so users can use tickvals/ticktext with a continuous axis.
tickvals: extendFlat({}, axesAttrs.tickvals, {editType: 'calc'}),
ticktext: extendFlat({}, axesAttrs.ticktext, {editType: 'calc'}),
tickvals: extendFlat({}, axesAttrs.tickvals, {
editType: 'calc',
description: [
'Sets the values at which ticks on this axis appear.'
].join(' ')
}),
ticktext: extendFlat({}, axesAttrs.ticktext, {
editType: 'calc',
description: [
'Sets the text displayed at the ticks position via `tickvals`.'
].join(' ')
}),
tickformat: {
valType: 'string',
dflt: '3s',
Expand Down

0 comments on commit c9b377d

Please sign in to comment.