Title: Horizontal legend wrapping is broken when legendgroups are used · Issue #1913 · plotly/plotly.js · GitHub
Open Graph Title: Horizontal legend wrapping is broken when legendgroups are used · Issue #1913 · plotly/plotly.js
X Title: Horizontal legend wrapping is broken when legendgroups are used · Issue #1913 · plotly/plotly.js
Description: jsfiddle repro here: https://jsfiddle.net/6oq39dpy/3/ Normally, when a horizontal legend contains many items, they get wrapped onto multiple lines. However, if legend groups are used at all -- even if only a single item is assigned to it...
Open Graph Description: jsfiddle repro here: https://jsfiddle.net/6oq39dpy/3/ Normally, when a horizontal legend contains many items, they get wrapped onto multiple lines. However, if legend groups are used at all -- even...
X Description: jsfiddle repro here: https://jsfiddle.net/6oq39dpy/3/ Normally, when a horizontal legend contains many items, they get wrapped onto multiple lines. However, if legend groups are used at all -- even...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1913
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Horizontal legend wrapping is broken when legendgroups are used","articleBody":"jsfiddle repro here: https://jsfiddle.net/6oq39dpy/3/\r\n\r\nNormally, when a horizontal legend contains many items, they get wrapped onto multiple lines.\r\n\r\nHowever, if legend groups are used at all -- even if only a single item is assigned to its own legend group -- nothing is wrapped, and legend items extending beyond the width of the plot are invisible and inaccessible.\r\n\r\nTo make wrapping appear again in the jsfiddle repro, just comment out line 10, which sets a legend group for the first trace.\r\n\r\nWhile searching for an already open issue for this, I found #769, which led to the original PR that added support for wrapping horizontal legends in the first place, and mentions legend groups, but only as a workaround for the original problem. I've only skimmed the related code so far so I don't know exactly what causes the bug. :-)\r\n","author":{"url":"https://github.com/tripped","@type":"Person","name":"tripped"},"datePublished":"2017-07-25T03:12:07Z","url":"https://github.com/plotly/plotly.js/issues/1913"}
| 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:8414ceda-1d16-85cb-a234-8da34761736c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9764:10531B:1C250AF:23FDCFC:6B019DE6 |
| html-safe-nonce | 2fd5d4c832cc37b9ff1cde6719457b7e962bd5ce5e5feb4c5075d494fe961b68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzY0OjEwNTMxQjoxQzI1MEFGOjIzRkRDRkM6NkIwMTlERTYiLCJ2aXNpdG9yX2lkIjoiMTU0NjkxNzc2MjkxMDIzMjAzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92a674f484ea36a333372275a4ef3e732a1ba298e3790227cf0686e73024def1 |
| hovercard-subject-tag | issue:245273481 |
| 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/1913/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d9d4483abf2aa695a101399e3f4bd521194d568f7ba8191835775626373aeb5/plotly/plotly.js/issues/1913 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d9d4483abf2aa695a101399e3f4bd521194d568f7ba8191835775626373aeb5/plotly/plotly.js/issues/1913 |
| og:image:alt | jsfiddle repro here: https://jsfiddle.net/6oq39dpy/3/ Normally, when a horizontal legend contains many items, they get wrapped onto multiple lines. However, if legend groups are used at all -- even... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tripped |
| 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