Skip to content

Extend categoryorder to multicategory axes #3908

Closed
@etpinard

Description

@etpinard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions