8000 Implement legendrank attribute in traces by archmoj · Pull Request #5591 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Implement legendrank attribute in traces #5591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jun 16, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update legendrank description
  • Loading branch information
archmoj committed Apr 22, 2021
commit d87ee126e88997e4e0cc44d62dc1bf9a646eebe8
4 changes: 2 additions & 2 deletions src/plots/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ module.exports = {
dflt: 1000,
editType: 'style',
description: [
'Sets the legend rank for this trace in each `legendgroup`.',
'Items with smaller ranks would be presented on top/left side while',
'Sets the legend rank for this trace.',
'Items and groups with smaller ranks would be presented on top/left side while',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace "would be" with "are" please, throughout :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in a1f87b9

'with `*reversed* `legend.traceorder` they would be on bottom/right side.',
'The default legendrank is 1000,',
'so that you can use ranks less than 1000 to place certain items before all unranked items,',
Expand Down
0