René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8414ceda-1d16-85cb-a234-8da34761736c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9764:10531B:1C250AF:23FDCFC:6B019DE6
html-safe-nonce2fd5d4c832cc37b9ff1cde6719457b7e962bd5ce5e5feb4c5075d494fe961b68
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzY0OjEwNTMxQjoxQzI1MEFGOjIzRkRDRkM6NkIwMTlERTYiLCJ2aXNpdG9yX2lkIjoiMTU0NjkxNzc2MjkxMDIzMjAzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac92a674f484ea36a333372275a4ef3e732a1ba298e3790227cf0686e73024def1
hovercard-subject-tagissue:245273481
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/1913/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5d9d4483abf2aa695a101399e3f4bd521194d568f7ba8191835775626373aeb5/plotly/plotly.js/issues/1913
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d9d4483abf2aa695a101399e3f4bd521194d568f7ba8191835775626373aeb5/plotly/plotly.js/issues/1913
og:image:altjsfiddle 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametripped
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/1913#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F1913
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F1913
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/issues/1913
Reloadhttps://github.com/plotly/plotly.js/issues/1913
Reloadhttps://github.com/plotly/plotly.js/issues/1913
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/1913
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/1913
Horizontal legend wrapping is broken when legendgroups are usedhttps://github.com/plotly/plotly.js/issues/1913#top
https://github.com/antoinerg
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/tripped
trippedhttps://github.com/tripped
on Jul 25, 2017https://github.com/plotly/plotly.js/issues/1913#issue-245273481
https://jsfiddle.net/6oq39dpy/3/https://jsfiddle.net/6oq39dpy/3/
#769https://github.com/plotly/plotly.js/issues/769
etpinardhttps://github.com/etpinard
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 25, 2017https://github.com/plotly/plotly.js/issues/1913#event-1178014246
https://github.com/jzthree
jzthreehttps://github.com/jzthree
on Mar 28, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-376731987
plotly.js/src/components/legend/draw.jshttps://github.com/plotly/plotly.js/blob/9a79056bb223e13995be8debd22f60c9d56cbef0/src/components/legend/draw.js#L521-L636
9a79056https://github.com/plotly/plotly.js/commit/9a79056bb223e13995be8debd22f60c9d56cbef0
https://github.com/Braintelligence
Braintelligencehttps://github.com/Braintelligence
on Oct 1, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-425904150
@jzthreehttps://github.com/jzthree
https://github.com/Braintelligence
Braintelligencehttps://github.com/Braintelligence
on Oct 17, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-430544269
https://github.com/Braintelligence
Braintelligencehttps://github.com/Braintelligence
on Oct 26, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-433414648
https://github.com/slishak
slishakhttps://github.com/slishak
on Oct 26, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-433563373
https://jsfiddle.net/by142svc/1/https://jsfiddle.net/by142svc/1/
https://github.com/tobiasblasberg
tobiasblasberghttps://github.com/tobiasblasberg
on Oct 30, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-434317893
https://plot.ly/r/reference/#barhttps://plot.ly/r/reference/#bar
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Oct 30, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-434328371
@tobiasblasberghttps://github.com/tobiasblasberg
https://plot.ly/r/reference/#layout-legend-traceorderhttps://plot.ly/r/reference/#layout-legend-traceorder
https://github.com/tobiasblasberg
tobiasblasberghttps://github.com/tobiasblasberg
on Oct 30, 2018https://github.com/plotly/plotly.js/issues/1913#issuecomment-434357285
https://github.com/avsdev-cw
avsdev-cwhttps://github.com/avsdev-cw
on Jan 28, 2019https://github.com/plotly/plotly.js/issues/1913#issuecomment-458180853
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Mar 5, 2019https://github.com/plotly/plotly.js/issues/1913#issuecomment-469753582
@antoinerghttps://github.com/antoinerg
antoinerghttps://github.com/antoinerg
on Mar 5, 2019https://github.com/plotly/plotly.js/issues/1913#event-2181585693
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
on Mar 5, 2019https://github.com/plotly/plotly.js/issues/1913#issuecomment-469848892
https://jsfiddle.net/by142svc/1/https://jsfiddle.net/by142svc/1/
e84bcb9?short_path=3367b6a#diff-3367b6ae7c2fe5d6fbdfd3a6630f48a1https://github.com/plotly/plotly.js/commit/e84bcb9f768c96ac0873a187398e3a919d027870?short_path=3367b6a#diff-3367b6ae7c2fe5d6fbdfd3a6630f48a1
https://github.com/plotly/plotly.js/compare/pr-1913https://github.com/plotly/plotly.js/compare/pr-1913
nathanjenxhttps://github.com/nathanjenx
on Mar 12, 2019https://github.com/plotly/plotly.js/issues/1913#event-2196668022
Fix plotly#1913 by adding pushing overflowed legend items to a new li…https://github.com/nathanjenx/plotly.js/commit/b89f1eeef88fca6ec30483dcfdcae1b7812c4f8c
plotly#1913https://github.com/plotly/plotly.js/issues/1913
https://docs.github.com/articles/closing-issues-via-commit-messages
b89f1eehttps://github.com/nathanjenx/plotly.js/commit/b89f1eeef88fca6ec30483dcfdcae1b7812c4f8c
antoinerghttps://github.com/antoinerg
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
b89f1eehttps://github.com/plotly/plotly.js/commit/b89f1eeef88fca6ec30483dcfdcae1b7812c4f8c
on Mar 20, 2019https://github.com/plotly/plotly.js/issues/1913#event-2218166116
antoinerghttps://github.com/antoinerg
on Mar 20, 2019https://github.com/plotly/plotly.js/issues/1913#event-2218166117
Merge pull request #3628 from nathanjenx/fix1913-horizontal-legened-g…https://github.com/plotly/plotly.js/commit/a24fea7ce623a81579a3b334f2bea8c1e4a3d347
#3628https://github.com/plotly/plotly.js/pull/3628
https://docs.github.com/articles/closing-issues-via-commit-messages
a24fea7https://github.com/plotly/plotly.js/commit/a24fea7ce623a81579a3b334f2bea8c1e4a3d347
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/1913
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/1913
antoinerghttps://github.com/antoinerg
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.