Skip to content

Control categorical ordering from layout #189

Closed
@cpsievert

Description

@cpsievert

The ordering of a categorical axis is currently determined by the order of values supplied in traces. It would be useful if we could override this ordering in the layout.

I primarily need this for our ggplot2 converter, as we have no way to guarantee ordering of the axis when there are missing values in the first trace (as in plotly/plotly.R#242, plotly/plotly.R#399, plotly/plotly.R#379)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions