Skip to content

Extend categoryorder to multicategory axes #3908

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

Closed
etpinard opened this issue May 24, 2019 · 8 comments
Closed

Extend categoryorder to multicategory axes #3908

etpinard opened this issue May 24, 2019 · 8 comments
Labels
feature something new

Comments

@etpinard
Copy link
Contributor

etpinard commented May 24, 2019

Currently we don't coerce categoryorder and friends for mulitcategory axes. Extending categoryarray and sorting will be a little challenging from an API standpoint.

  • Should we refer to category pairs in categoryarray as 2-item arrays e.g. categoryarray: [['q1', 'A'], ['q2', 'B]]
  • We'll have to disallow some combinations to ensure that we don't jump from one parent category to another and back
  • We'll probably need to sort parent and child categories separately?

Related: #3723

Some context: https://community.plot.ly/t/ordering-on-multi-level-bar-charts/23747

@etpinard etpinard added the feature something new label May 24, 2019
@LarryMartell
Copy link

LarryMartell commented May 24, 2019

I have charts with 3 levels. I'd like for each level to be sorted within its higher level.

@davepattie
Copy link

controlling the child sort order within the parent would be great +1

@LarryMartell
Copy link

Any update on when this might be fixed?

@kmcentush
Copy link

I would love for this to be implemented as well.

@AndreasUntch
Copy link

Any updates on this feature? Hope it will get implemented soon

@nicolaskruchten
Copy link
Contributor

This issue has been tagged with NEEDS SPON$OR

A community PR for this feature would certainly be welcome, but our experience is deeper features like this are difficult to complete without the Plotly maintainers leading the effort.

Sponsorship range: $10k-$15k

What Sponsorship includes:

  • Completion of this feature to the Sponsor's satisfaction, in a manner coherent with the rest of the Plotly.js library and API
  • Tests for this feature
  • Long-term support (continued support of this feature in the latest version of Plotly.js)
  • Documentation at plotly.com/javascript
  • Possibility of integrating this feature with Plotly Graphing Libraries (Python, R, F#, Julia, MATLAB, etc)
  • Possibility of integrating this feature with Dash
  • Feature announcement on community.plotly.com with shout out to Sponsor (or can remain anonymous)
  • Gratification of advancing the world's most downloaded, interactive scientific graphing libraries (>50M downloads across supported languages)

Please include the link to this issue when contacting us to discuss.

@nicolaskruchten
Copy link
Contributor

See also #3723

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

7 participants