Skip to content

Commit 58b1cb1

Browse files
committed
mention traces and shapes order in legendrank description
1 parent 2e77fc7 commit 58b1cb1

File tree

3 files changed

+54
-50
lines changed

3 files changed

+54
-50
lines changed

src/components/shapes/attributes.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ module.exports = templatedArray('shape', {
7272
'with *reversed* `legend.traceorder` they are on bottom/right side.',
7373
'The default legendrank is 1000,',
7474
'so that you can use ranks less than 1000 to place certain items before all unranked items,',
75-
'and ranks greater than 1000 to go after all unranked items.'
75+
'and ranks greater than 1000 to go after all unranked items.',
76+
'When having unranked or equal rank items shapes would be displayed after traces',
77+
'i.e. according to their order in data and layout.'
7678
].join(' ')
7779
}),
7880

src/plots/attributes.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ module.exports = {
8181
'with *reversed* `legend.traceorder` they are on bottom/right side.',
8282
'The default legendrank is 1000,',
8383
'so that you can use ranks less than 1000 to place certain items before all unranked items,',
84-
'and ranks greater than 1000 to go after all unranked items.'
84+
'and ranks greater than 1000 to go after all unranked items.',
85+
'When having unranked or equal rank items shapes would be displayed after traces',
86+
'i.e. according to their order in data and layout.'
8587
].join(' ')
8688
},
8789
legendwidth: {

0 commit comments

Comments
 (0)