-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Feature Request] Allow ordering items by value for unified x hovermode #5362
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
Comments
Might mitigate #4786 in some cases (like the one showed above). |
Hi @nicolaskruchten @chriddyp @ndrezn - Any plans to take a look here soon? Right now we're stuck between a choice of (a) covering up the x-axis value on hover but having data nicely sorted and (b) displaying x-axis value but losing data sort. |
It's not a bad idea, we could add a flag that would control this behaviour but no one on our team is looking at this at the moment, no. We'd accept a pull request for someone who wanted to implement it though! |
Chiming in to agree with @mayeut; Ordering tooltip by trace value rather than legend order would be super cool |
I am also looking for this feature and stumble on this thread. Has this been implemented yet? Thanks. |
For me, with plotly js, in the plot config, with hovermode = "x", it works. |
Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson |
plotly==5.24.1 the functionality is still not there |
@KacemKhaled reopened, but we have no plans to implement this - we'd be happy to prioritize review of a PR from the community. thanks - @gvwilson |
At the moment, it seems that order of items is hardcoded in the following line:
plotly.js/src/components/fx/hover.js
Line 1043 in 4ce0c8b
It would be great to allow ordering items by value for
unified x
hovermode
as mentioned in comments #4477 (comment) and #4477 (comment).Current behavior sample:

Desired behavior sample:

The text was updated successfully, but these errors were encountered: