Title: Control categorical ordering from layout · Issue #189 · plotly/plotly.js · GitHub
Open Graph Title: Control categorical ordering from layout · Issue #189 · plotly/plotly.js
X Title: Control categorical ordering from layout · Issue #189 · plotly/plotly.js
Description: 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...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/plotly/plotly.js/issues/189
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Control categorical ordering from layout","articleBody":"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.\n\nI 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 https://github.com/ropensci/plotly/issues/242, https://github.com/ropensci/plotly/issues/399, https://github.com/ropensci/plotly/issues/379)\n","author":{"url":"https://github.com/cpsievert","@type":"Person","name":"cpsievert"},"datePublished":"2016-01-18T17:59:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/189/plotly.js/issues/189"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fee366eb-cb1d-a5c8-b851-02271b439897 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92EC:11ACF6:FDE2F7:155F487:6A5AA48B |
| html-safe-nonce | 12f2a80dc336fb13254f83d0020fe30e635075172d91b46765046f83f9568b93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkVDOjExQUNGNjpGREUyRjc6MTU1RjQ4Nzo2QTVBQTQ4QiIsInZpc2l0b3JfaWQiOiIzMTE1NjQ4MDUyODUyNDQyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83f7833649476864be39ec82896c1669268d036a1fe3d5327c9b3ca2a14a118a |
| hovercard-subject-tag | issue:127280651 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/189/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37d449b32833f2eabb361221b62ef58c1373406f4b17bfa70207e95fdfd36449/plotly/plotly.js/issues/189 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37d449b32833f2eabb361221b62ef58c1373406f4b17bfa70207e95fdfd36449/plotly/plotly.js/issues/189 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cpsievert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5cb870aa6b86b87be75e23ca7caec54726a25af9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width