8000 describe why dflt 1000 is used - mentioning ranking works within each… · plotly/plotly.js@4ffb06c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ffb06c

Browse files
committed
describe why dflt 1000 is used - mentioning ranking works within each group
1 parent 598d60c commit 4ffb06c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/plots/attributes.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ module.exports = {
4646
dflt: 1000,
4747
editType: 'style',
4848
description: [
49-
'Sets the legend rank for this trace.',
49+
'Sets the legend rank for this trace in each `legendgroup`.',
5050
'Items with smaller ranks would be presented on top/left side while',
51-
'with `*reversed* `legend.traceorder` they would be on bottom/right side.'
51+
'with `*reversed* `legend.traceorder` they would be on bottom/right side.',
52+
'The default legendrank is 1000,',
53+
'so that you can use ranks less than 1000 to place certain items before all unranked items,',
54+
'and ranks greater than 1000 to go after all unranked items.'
5255
].join(' ')
5356
},
5457
opacity: {

0 commit comments

Comments
 (0)
0