Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update axis categories via legend interaction when categoryarray is specified #1618

Open
cpsievert opened this issue Apr 21, 2017 · 5 comments
Labels
feature something new P3 backlog

Comments

@cpsievert
Copy link

Some context in plotly/plotly.R#689

https://codepen.io/cpsievert/pen/aWZdWK

@etpinard
Copy link
Contributor

etpinard commented May 17, 2017

This and #1516 makes me think our one lone category axis type is insufficient to cover all cases.

I'm thinking about adding a categoryvisible attribute with possible values 'trace' (show categories of traces that have visible: true or visible: 'legendonly' - the current behavior), 'array' (always show all categories in categoryarray) and 'legend' (show categories of trace that have visible: true). Setting categoryvisible: 'legend' would give the desired result here.

@talgalili
Copy link

Hi @etpinard, thanks for pointing us to this thread.
This issue is important for an R package we created based on R/plotly (i.e.: heatmaply).
Would you, by chance, be willing to give this issue another look/thought to see if this could be moved forward?

Thanks.

@etpinard
Copy link
Contributor

@talgalili this won't be on our priority list for the next few months I'm afraid.

@jplauri
Copy link

jplauri commented Jul 6, 2020

Is there any update or workaround for this issue? It would be great to have the mentioned functionality.

@pjedge
Copy link

pjedge commented Jun 7, 2021

I would also love to see this issue resolved. I am using drop-down menus to reorder the boxes in a boxplot using 'categoryarray' and unfortunately it results in legend toggling not working as expected.

@gvwilson gvwilson self-assigned this Jun 10, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

6 participants