Extend `categoryorder` to multicategory axes
See original GitHub issueCurrently 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: https://github.com/plotly/plotly.js/issues/3723
Some context: https://community.plot.ly/t/ordering-on-multi-level-bar-charts/23747
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Multi-categorical Axes : How to order the category?
Therefore, my xaxis is a multicategorical axis, ... I found this discussion: Extend `categoryorder` to multicategory axes · Issue #3908 ...
Read more >Plotly: styling secondary x axis - python - Stack Overflow
categoryorder Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order ...
Read more >How to create a multi level axis | Exceljet
But what if I want to group the cities in by region? Well, if I visit Select Data, I can click Edit under...
Read more >8.4 Changing the Order of Items on a Categorical Axis
8.4.4 See Also. To reorder factor levels based on data values from another column, see Recipe 15.9.
Read more >How to Create Multi-Category Chart in Excel
Learn how to create a multi-category chart in Excel in this tutorial. ... Format Axis task pane, scroll down and click on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would love for this to be implemented as well.
controlling the child sort order within the parent would be great +1