Skip to content

allow multiple legends by size, symbol, color etc #5099

Open
@nicolaskruchten

Description

@nicolaskruchten

Breaking off of #1668 ...

Multiple users have requested the ability to have per-visual-attribute legends, similar to systems like ggplot2, Tableau etc so one legend for discrete color, one for size, one for symbol and so on. This is distinct from simply having multiple legends where each trace has a single legend item because in this concept, each trace would cause a legend item to appear in each legend, and furthermore, each legend item could refer to multiple traces. It's more similar to our existing coloraxis/colorbar concept than to our legend concept.

The major challenge for us is interactivity: it's relatively easy in a static tool like ggplot2 or matplotlib to just draw a second legend, but our legends support click-to-toggle etc (although our colorbars don't, today, and should!) and this would require a fairly big engineering lift.

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