Title: consistent text mode · Issue #4247 · plotly/plotly.js · GitHub
Open Graph Title: consistent text mode · Issue #4247 · plotly/plotly.js
X Title: consistent text mode · Issue #4247 · plotly/plotly.js
Description: We need a simple way to guarantee that the text displayed within/across traces of the same type is in the same size and orientation. For example if I have two bar traces in a plot with text visible, the text should all be of the same siz...
Open Graph Description: We need a simple way to guarantee that the text displayed within/across traces of the same type is in the same size and orientation. For example if I have two bar traces in a plot with text visible...
X Description: We need a simple way to guarantee that the text displayed within/across traces of the same type is in the same size and orientation. For example if I have two bar traces in a plot with text visible...
Opengraph URL: https://github.com/plotly/plotly.js/issues/4247
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"consistent text mode","articleBody":"We need a simple way to guarantee that the `text` displayed within/across traces of the same type is in the same size and orientation. For example if I have two `bar` traces in a plot with text visible, the text should all be of the same size and either all vertical or all horizontal. Likely this will mean making it all as small as necessary to fit the largest bit of text.\r\n\r\nWe likely want this to work within treemaps as well: being able to guarantee that short labels aren't being displayed bigger than long labels.\r\n\r\nFor pies and sunbursts obviously orientation is a bit trickier because it's relative to the sector but for size the logic should be the same. I would expect that below a certain size the text could all be horizontal and above a certain size the text would all just be oriented radially or something.\r\n\r\nI don't think we need this to work across trace types (although it should work across traces), e.g. same font size for bars and treemaps in the same figure (but different bar traces should coordinate).\r\n\r\nWe should probably provide a min/max font size along with some kind of defined fallback if the required size to make it fit is outside of those bounds.","author":{"url":"https://github.com/nicolaskruchten","@type":"Person","name":"nicolaskruchten"},"datePublished":"2019-10-02T14:00:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/4247/plotly.js/issues/4247"}
| 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:8fc29f8b-1902-0da9-844e-e640ce105c89 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBA2:3D4855:2A188:3990E:6A576983 |
| html-safe-nonce | d09c44b34a4ba8c6427f0e4371e7893baa985d3f77f70520244aeb38fb94bd3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkEyOjNENDg1NToyQTE4ODozOTkwRTo2QTU3Njk4MyIsInZpc2l0b3JfaWQiOiI1MDI5Mjg0NDQwNTY2MDk4MzA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9c655ce35ac6178c31312fdc768aa3be98ff59740980dcf1b2c8286c4a0190c |
| hovercard-subject-tag | issue:501508655 |
| 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/4247/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc77dc4ac076f407d9322466875d48e9aab46b706cc14169a2351a1fbff97d36/plotly/plotly.js/issues/4247 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc77dc4ac076f407d9322466875d48e9aab46b706cc14169a2351a1fbff97d36/plotly/plotly.js/issues/4247 |
| og:image:alt | We need a simple way to guarantee that the text displayed within/across traces of the same type is in the same size and orientation. For example if I have two bar traces in a plot with text visible... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nicolaskruchten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 1b5a9c55f39dd27607a574cdc272552f20236b44 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width