Skip to content

Single-toggle of grouped traces in legend #3135

Closed

Description

This is a feature request.

Please see default "Grouped Legend" example: https://codepen.io/plotly/pen/qjmNXa

Current behavior

It is possible to toggle single traces by clicking on them in the legend. If traces are grouped using legendgroup (like in the example above) not the single traces but the whole group is toggled.

Future behavior

It should be possible to disable the toggling of the whole group and instead toggle the single traces like in no-grouped legends. This would make it possible in the example above to only disable the "points" and only show the "avarage line" of this group.

This should be done by a new option in the legend-settings.

Related: #65, #665, #674

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions