FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add hoversort option by kimsehwan96 · Pull Request #7734 · plotly/plotly.js · GitHub

Add hoversort option - #7734

Merged
emilykl merged 5 commits into
plotly:masterfrom
kimsehwan96:add-hoversort-option
May 14, 2026
Merged

Add hoversort option#7734
emilykl merged 5 commits into
plotly:masterfrom
kimsehwan96:add-hoversort-option

Conversation

Copy link
Copy Markdown
Contributor

close: #5362

Adds a hoversort layout attribute that lets you sort items in unified hover labels by value.

  • trace (default) - keeps current behavior (trace index order)
  • value descending - largest first,
  • value ascending - smallest first

hoversort: 'trace'

hoversort: 'value descending'

hoversort: 'value ascending'

kimsehwan96 marked this pull request as draft March 27, 2026 10:17
kimsehwan96 marked this pull request as ready for review March 29, 2026 02:25

Copy link
Copy Markdown
Contributor

Thanks for the PR! One of our team members will review and follow up with you.

Comment thread test/jasmine/tests/fx_test.js Outdated

emilykl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for your patience awaiting review, @kimsehwan96 ! This looks great, thank you for adding detailed test cases.

emilykl merged commit 41bbed9 into plotly:master May 14, 2026
160 of 162 checks passed

Copy link
Copy Markdown
Contributor Author

@emilykl Thanks for your review and works!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Allow ordering items by value for unified x hovermode

3 participants


Back | FazBrowse Home | New Git URL