Skip to content

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

Description

@mayeut

At the moment, it seems that order of items is hardcoded in the following line:

legendOpts.entries.sort(function(a, b) { return a[0].trace.index - b[0].trace.index;});

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:
Capture d’écran 2020-12-26 à 17 35 32

Desired behavior sample:
Capture d’écran 2020-12-26 à 17 32 42

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions