Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Order of toggled traces with legend on stacked area plot changes output plot #6716

Copy link
Copy link
Open
@marc-at-brightnight

Description

@marc-at-brightnight
Issue body actions

Hi,

I'm noticing an issue when having traces that are part of a stack group. It seems like the order in which you toggle traces on can affect the output plot.

Here's an example:

If I toggle on Trace 2 and then Trace 1, I get the expected result:
image

However, if I toggle off Trace 1 and Trace 2 (in that order) and then toggle on Trace 1 and Trace 2 (in that order), I get a plot that looks different:
image

This does not seem like the expected behavior. Wondering if this is an issue with plotly or something I'm missing in the config.

Thanks in advance!

Here's a JS Fiddle link: https://jsfiddle.net/Lyzkdjr4/1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbacklogbugsomething brokensomething brokensev-3annoyance with workaroundannoyance with workaround

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.