Title: Create a "stick-inside" mode for ticks labels · Issue #3292 · plotly/plotly.js · GitHub
Open Graph Title: Create a "stick-inside" mode for ticks labels · Issue #3292 · plotly/plotly.js
X Title: Create a "stick-inside" mode for ticks labels · Issue #3292 · plotly/plotly.js
Description: Context Say we have a first quadrant chart: One can notice that ticks' labels are horizontally/vertically centred (compared to the ticks themselves) on the horizontal/vertical axis, respectively. This makes that first and last ticks valu...
Open Graph Description: Context Say we have a first quadrant chart: One can notice that ticks' labels are horizontally/vertically centred (compared to the ticks themselves) on the horizontal/vertical axis, respectively. T...
X Description: Context Say we have a first quadrant chart: One can notice that ticks' labels are horizontally/vertically centred (compared to the ticks themselves) on the horizontal/vertical axis, respectivel...
Opengraph URL: https://github.com/plotly/plotly.js/issues/3292
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create a \"stick-inside\" mode for ticks labels","articleBody":"Context\r\n---\r\n\r\nSay we have a first quadrant chart:\r\n\r\n\r\n\r\n\r\nOne can notice that ticks' labels are horizontally/vertically centred (compared to the ticks themselves) on the horizontal/vertical axis, respectively. \r\n\r\nThis makes that first and last ticks value \"stick out\" from the graph; what can be a bit ungainly — especially if one shows one axis only:\r\n\r\n\r\n\r\n\r\nThis is also inconvenient when you want to precisely align you axes with elements surrounding your picture (e.g., in the example above, if you want the `0%` tick mark to be the most-left point of the picture).\r\n\r\n\r\nQuestion\r\n---\r\n\r\n**➥ Could it be possible to have a \"stick inside\" mode for ticks values?**\r\n\r\nThe idea is to change the vertical/horizontal alignment of the first and last ticks values: \r\n\r\n- left and right aligned, respectively, for the horizontal axis: \r\n\r\n\r\n- bottom and top aligned, respectively, for the vertical axis:\r\n\r\n\r\n\r\nOur first example would then look like this:\r\n\r\n\r\n\r\nVariant\r\n---\r\nAn even more super-duper mode would enable us to choose which end on the axis to \"stick inside\", so that one could make such graph:\r\n","author":{"url":"https://github.com/EBoisseauSierra","@type":"Person","name":"EBoisseauSierra"},"datePublished":"2018-11-26T16:22:41Z","url":"https://github.com/plotly/plotly.js/issues/3292"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:dadb4564-ffb5-e6bb-1ade-4c50022a35a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E160:2D40DE:27D6A24:32C6494:6B01D8B3 |
| html-safe-nonce | 6ed30fdc4c98721e104834a3f829850e28877146f2dec5388ed78ccc8267a03d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTYwOjJENDBERToyN0Q2QTI0OjMyQzY0OTQ6NkIwMUQ4QjMiLCJ2aXNpdG9yX2lkIjoiNzUzNTA3OTc1NTMzNTQ1Njk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 73feaabedabea912ff2c8f68e5e65202a2ec3bfeb29f211b9244c39110bdcd08 |
| hovercard-subject-tag | issue:384406980 |
| 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/3292/issue_layout |
| twitter:image | https://opengraph.githubassets.com/431788d1563af39b1790acc1c37d9cc489e5398f99c4e2bfd088a57cafa71bd7/plotly/plotly.js/issues/3292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/431788d1563af39b1790acc1c37d9cc489e5398f99c4e2bfd088a57cafa71bd7/plotly/plotly.js/issues/3292 |
| og:image:alt | Context Say we have a first quadrant chart: One can notice that ticks' labels are horizontally/vertically centred (compared to the ticks themselves) on the horizontal/vertical axis, respectively. T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EBoisseauSierra |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width