Repository navigation
show/hide legend items does not work for stacked area chart #6138
Description
Activity
@Beth106 did you ever figure out how to deal with this?
@gvwilson any update on this? saw you picked it up 2 weeks ago
Hi @Kieran-Lynn - I'm now managing the Libraries team at Plotly, so I've assigned this to myself for triage and assignment, but realistically it will be months before it gets to the top of our list - we have a lot of old issues to wade through :-(
- No I never fixed it, I ended up just turning off the show/hide functionality for my stacked charts so it didn't confuse anyone. Would definitely be useful to get a fix as high priority.…On Thu, 11 Jul 2024, 05:10 Kieran Lynn, ***@***.***> wrote: @Beth106 <https://github.com/Beth106> did you ever figure out how to deal with this? — Reply to this email directly, view it on GitHub <#6138 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKCGYIE5PS555CUO5G66Z7TZLYASJAVCNFSM6AAAAABKWENEBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRHE4DINJQGM> . You are receiving this because you were mentioned.Message ID: ***@***.***>
- changed the title
[-]BUG: Show/hide legend items does not work for stacked area chart[/-][+]show/hide legend items does not work for stacked area chart[/+]on Aug 9, 2024 Hello, did this issue ever get fixed, as I am also seeing it 2 years later using plotly 5.24.1
The issue has not been solved still. Using Plotly 6.0.1 and Dahs 3.0.0
Image from a Dash interface:

However, when the image is downloaded using the "download" control on the graph, the issue is not there, which could mean that the problem is coming from the display functions (?) only
Any idea if a fix is planned for this issue please?
Fixed by #7668 and first released in plotly.js v3.4.0.

The standard show/hide lines when you click/double click on legend items breaks under certain circumstances for stacked charts.
Bug replication:
Expected and actual result
Bug replication
It gets even worse if you then:
Expected and actual result