Skip to content

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

@kimsehwan96

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
스크린샷 2026-03-27 오전 7 26 14

hoversort: 'trace'

스크린샷 2026-03-27 오전 7 26 18

hoversort: 'value descending'

스크린샷 2026-03-27 오전 7 26 22

hoversort: 'value ascending'

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

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 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.

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

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

Copy link
Copy Markdown
Contributor Author

@emilykl Thanks for your review and works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants