Skip to content

Commit cdcd101

Browse files
Update src/plots/cartesian/layout_attributes.js
Co-authored-by: Alex Johnson <alex@plot.ly>
1 parent e4ddc68 commit cdcd101

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -638,10 +638,12 @@ module.exports = {
638638
dflt: false,
639639
editType: 'ticks',
640640
description: [
641-
'Determines the alias for certain labels for ticks and hover.',
642-
'For example using {US: \'USA\', CA: \'Canada\'} maps US to USA',
643-
'and CA to Canada if tick or hover labels match US or Canada i.e.',
644-
'after adding prefix and suffix to labels.'
641+
'Replacement text for specific tick or hover labels.',
642+
'For example using {US: \'USA\', CA: \'Canada\'} changes US to USA',
643+
'and CA to Canada. The labels we would have shown must match',
644+
'the keys exactly, after adding any tickprefix or ticksuffix.',
645+
'labelalias can be used with any axis type, and both keys (if needed)',
646+
'and values (if desired) can include html-like tags or MathJax.'
645647
].join(' ')
646648
},
647649
automargin: {

0 commit comments

Comments
 (0)