René's URL Explorer Experiment


Title: Legend overlaps since 1.11.0 · Issue #771 · plotly/plotly.js · GitHub

Open Graph Title: Legend overlaps since 1.11.0 · Issue #771 · plotly/plotly.js

X Title: Legend overlaps since 1.11.0 · Issue #771 · plotly/plotly.js

Description: This appears to be a regression introduced in 1.11.0 - probably by: #53 and is still evident in "latest; In 1.10.2 and earlier, when a legend was too wide and would overlap a pie chart, the legend would not show. Since 1.11.0, the legend...

Open Graph Description: This appears to be a regression introduced in 1.11.0 - probably by: #53 and is still evident in "latest; In 1.10.2 and earlier, when a legend was too wide and would overlap a pie chart, the legend ...

X Description: This appears to be a regression introduced in 1.11.0 - probably by: #53 and is still evident in "latest; In 1.10.2 and earlier, when a legend was too wide and would overlap a pie chart, the le...

Opengraph URL: https://github.com/plotly/plotly.js/issues/771

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Legend overlaps since 1.11.0","articleBody":"This appears to be a regression introduced in 1.11.0 - probably by: https://github.com/plotly/plotly.js/issues/53 and is still evident in \"latest;\n\nIn 1.10.2 and earlier, when a legend was too wide and would overlap a pie chart, the legend would not show.\nSince 1.11.0, the legend is shown overlapping the pie chart.\n\nThis can be replicated very easily with the following data declaration (default everything else):\n\n```\nvar data = [{\n    labels:['hello','this is a very long string and bad things are likely to happen', 'short string','moderately long string'],\n    values:[4,4,4,4],\n    type:'pie'\n}];\n```\n\nOf these two behaviours, not showing the legend is preferred. The ideal solution (feature request I guess) would be to scale the legend to the a suitable non-overlapping size, then wrap the text within that.\n","author":{"url":"https://github.com/lp-jonathan","@type":"Person","name":"lp-jonathan"},"datePublished":"2016-07-24T09:08:07Z","url":"https://github.com/plotly/plotly.js/issues/771"}

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:cc8ebbff-d674-1dbb-bd32-925034cd24cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB374:16EED3:34C5D81:434605E:6B01E5DB
html-safe-nonce6f5ef9dbf9cf643dbddcc046519db8a3c5b6457c28947fbb09a7dd44f85e266c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzc0OjE2RUVEMzozNEM1RDgxOjQzNDYwNUU6NkIwMUU1REIiLCJ2aXNpdG9yX2lkIjoiMTgwMzIwMzIxMTY5NjM5OTgzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51e7b0ef347473291836849eec242a1ca05e4c9245f51ecbcd12377235a70a4a
hovercard-subject-tagissue:167224584
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/771/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9eb032143cc0161debcff0243d2c2f557af732a2ae2bdf1842b67b041c6a43a7/plotly/plotly.js/issues/771
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9eb032143cc0161debcff0243d2c2f557af732a2ae2bdf1842b67b041c6a43a7/plotly/plotly.js/issues/771
og:image:altThis appears to be a regression introduced in 1.11.0 - probably by: #53 and is still evident in "latest; In 1.10.2 and earlier, when a legend was too wide and would overlap a pie chart, the legend ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelp-jonathan
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/771#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F771
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%2F771
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/771
Reloadhttps://github.com/plotly/plotly.js/issues/771
Reloadhttps://github.com/plotly/plotly.js/issues/771
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/771
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/771
#4160https://github.com/plotly/plotly.js/pull/4160
Legend overlaps since 1.11.0https://github.com/plotly/plotly.js/issues/771#top
#4160https://github.com/plotly/plotly.js/pull/4160
https://github.com/etpinard
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
v1.50.0https://github.com/plotly/plotly.js/milestone/46
https://github.com/lp-jonathan
lp-jonathanhttps://github.com/lp-jonathan
on Jul 24, 2016https://github.com/plotly/plotly.js/issues/771#issue-167224584
#53https://github.com/plotly/plotly.js/issues/53
Nexthttps://github.com/plotly/plotly.js/issues/771?timeline_page=1
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Jul 25, 2016https://github.com/plotly/plotly.js/issues/771#issuecomment-235025860
http://codepen.io/etpinard/pen/dXZQGPhttp://codepen.io/etpinard/pen/dXZQGP
http://codepen.io/etpinard/pen/mELQPAhttp://codepen.io/etpinard/pen/mELQPA
etpinardhttps://github.com/etpinard
status: discussion neededhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20discussion%20needed%22
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 25, 2016https://github.com/plotly/plotly.js/issues/771#event-733866412
etpinardhttps://github.com/etpinard
on Jul 25, 2016https://github.com/plotly/plotly.js/issues/771#event-733935668
https://github.com/lp-jonathan
lp-jonathanhttps://github.com/lp-jonathan
on Jul 25, 2016https://github.com/plotly/plotly.js/issues/771#issuecomment-235066214
http://codepen.io/etpinard/pen/dXZQGPhttp://codepen.io/etpinard/pen/dXZQGP
http://codepen.io/etpinard/pen/mELQPAhttp://codepen.io/etpinard/pen/mELQPA
#771 (comment)https://github.com/plotly/plotly.js/issues/771#issuecomment-235025860
https://github.com/notifications/unsubscribe-auth/ATqs82JMf8dyw7MjT2kJoR6grLkiOOm-ks5qZPSigaJpZM4JTiVVhttps://github.com/notifications/unsubscribe-auth/ATqs82JMf8dyw7MjT2kJoR6grLkiOOm-ks5qZPSigaJpZM4JTiVV
https://github.com/n-riesco
n-riescohttps://github.com/n-riesco
on Jul 25, 2016https://github.com/plotly/plotly.js/issues/771#issuecomment-235075474
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Aug 11, 2016https://github.com/plotly/plotly.js/issues/771#issuecomment-239162956
#840https://github.com/plotly/plotly.js/issues/840
@odowhttps://github.com/odow
https://codepen.io/odow/pen/mEarpyhttps://codepen.io/odow/pen/mEarpy
@n-riescohttps://github.com/n-riesco
https://github.com/mattdonut
mattdonuthttps://github.com/mattdonut
on Feb 10, 2017https://github.com/plotly/plotly.js/issues/771#issuecomment-278995199
https://jsfiddle.net/Lfxvm3zz/2/https://jsfiddle.net/Lfxvm3zz/2/
https://github.com/didip
didiphttps://github.com/didip
on Mar 15, 2017https://github.com/plotly/plotly.js/issues/771#issuecomment-286628317
https://github.com/PPPW
PPPWhttps://github.com/PPPW
on Aug 31, 2017https://github.com/plotly/plotly.js/issues/771#issuecomment-326321419
https://codepen.io/anon/pen/BdvvKV?editors=1010https://codepen.io/anon/pen/BdvvKV?editors=1010
https://github.com/seansfkelley
seansfkelleyhttps://github.com/seansfkelley
on Jan 3, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-451023522
a pen that reproduces the issuehttps://codepen.io/anon/pen/KbZbRv?editors=0010
https://github.com/brylie
bryliehttps://github.com/brylie
on May 29, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-496836883
https://github.com/getredash/redash/blob/9292ae8d3fe3d22b10554a10ce4cefe76214c5d4/client/app/visualizations/chart/plotly/utils.js#L746-L807https://github.com/getredash/redash/blob/9292ae8d3fe3d22b10554a10ce4cefe76214c5d4/client/app/visualizations/chart/plotly/utils.js#L746-L807
https://github.com/brylie
bryliehttps://github.com/brylie
on May 29, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-496856616
https://github.com/brylie
bryliehttps://github.com/brylie
on May 29, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-496860009
Add legend 'auto' x|y and/or 'container' (x|y)ref #1199https://github.com/plotly/plotly.js/issues/1199
Legend overlaps the y-axis title #1594https://github.com/plotly/plotly.js/issues/1594
https://stackoverflow.com/questions/50741030/plotly-legends-overlapping-on-top-of-the-charthttps://stackoverflow.com/questions/50741030/plotly-legends-overlapping-on-top-of-the-chart
https://stackoverflow.com/questions/49050831/plotly-js-legend-overlap-the-graphhttps://stackoverflow.com/questions/49050831/plotly-js-legend-overlap-the-graph
https://github.com/seansfkelley
seansfkelleyhttps://github.com/seansfkelley
on May 29, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-497076758
etpinardhttps://github.com/etpinard
v1.50.0https://github.com/plotly/plotly.js/milestone/46
on Aug 16, 2019https://github.com/plotly/plotly.js/issues/771#event-2563377729
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Aug 16, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-522146774
drop-firstRender-in-legend-drawhttps://github.com/plotly/plotly.js/compare/drop-firstRender-in-legend-draw
https://48109-45646037-gh.circle-artifacts.com/0/dist/plotly.jshttps://48109-45646037-gh.circle-artifacts.com/0/dist/plotly.js
#3024https://github.com/plotly/plotly.js/pull/3024
#1340https://github.com/plotly/plotly.js/issues/1340
#3151https://github.com/plotly/plotly.js/issues/3151
#1199https://github.com/plotly/plotly.js/issues/1199
#960https://github.com/plotly/plotly.js/issues/960
herehttps://github.com/plotly/plotly.js/blob/c91f88b0f6f41bdfda46ecf28be06bf534d993c0/src/components/legend/draw.js#L168-L194
herehttps://github.com/plotly/plotly.js/blob/c91f88b0f6f41bdfda46ecf28be06bf534d993c0/src/plots/plots.js#L1821-L1824
https://codepen.io/etpinard/pen/dXZQGPhttps://codepen.io/etpinard/pen/dXZQGP
https://codepen.io/etpinard/pen/VwZjjpmhttps://codepen.io/etpinard/pen/VwZjjpm
https://codepen.io/odow/pen/mEarpyhttps://codepen.io/odow/pen/mEarpy
https://codepen.io/etpinard/pen/KKPMMqbhttps://codepen.io/etpinard/pen/KKPMMqb
https://jsfiddle.net/Lfxvm3zz/2/https://jsfiddle.net/Lfxvm3zz/2/
https://codepen.io/Nauss/pen/MMBdrwhttps://codepen.io/Nauss/pen/MMBdrw
https://codepen.io/etpinard/pen/GRKqqQOhttps://codepen.io/etpinard/pen/GRKqqQO
https://codepen.io/anon/pen/KbZbRv?editors=0010https://codepen.io/anon/pen/KbZbRv?editors=0010
https://codepen.io/etpinard/pen/MWgeeQMhttps://codepen.io/etpinard/pen/MWgeeQM
#2337https://github.com/plotly/plotly.js/issues/2337
https://jsfiddle.net/6oq39dpy/6/https://jsfiddle.net/6oq39dpy/6/
https://jsfiddle.net/2dm3y158/https://jsfiddle.net/2dm3y158/
#2131https://github.com/plotly/plotly.js/issues/2131
https://codepen.io/etpinard/pen/ZaEEyL?editors=0010https://codepen.io/etpinard/pen/ZaEEyL?editors=0010
https://codepen.io/plotly/pen/gvEaRKhttps://codepen.io/plotly/pen/gvEaRK
https://codepen.io/etpinard/pen/VwZjjxb?editors=1010https://codepen.io/etpinard/pen/VwZjjxb?editors=1010
https://codepen.io/etpinard/pen/RwbRRyLhttps://codepen.io/etpinard/pen/RwbRRyL
7d0a524https://github.com/plotly/plotly.js/commit/7d0a5242f0250ea96166c924178a54dc28bf9763
etpinardhttps://github.com/etpinard
on Aug 16, 2019https://github.com/plotly/plotly.js/issues/771#event-2563463864
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Aug 16, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-522158170
https://jsfiddle.net/Lfxvm3zz/2/https://jsfiddle.net/Lfxvm3zz/2/
d568610https://github.com/plotly/plotly.js/commit/d5686104e49cfb49b101782ab8c8f0b00ad659ce
https://48124-45646037-gh.circle-artifacts.com/0/dist/plotly.min.jshttps://48124-45646037-gh.circle-artifacts.com/0/dist/plotly.min.js
https://jsfiddle.net/yuwfnj7t/https://jsfiddle.net/yuwfnj7t/
https://github.com/seansfkelley
seansfkelleyhttps://github.com/seansfkelley
on Aug 16, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-522161060
@etpinardhttps://github.com/etpinard
unfortunate workaroundhttps://github.com/plotly/plotly.js/issues/771#issuecomment-497076758
etpinardhttps://github.com/etpinard
on Aug 30, 2019https://github.com/plotly/plotly.js/issues/771#event-2597561671
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/5dd9d0b9da8f19901bf1c0ec03df8e313fa4fda9
5dd9d0bhttps://github.com/plotly/plotly.js/commit/5dd9d0b9da8f19901bf1c0ec03df8e313fa4fda9
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/9e76c2ab04c926d9bb9e79f2f165ba0dc58e2379
9e76c2ahttps://github.com/plotly/plotly.js/commit/9e76c2ab04c926d9bb9e79f2f165ba0dc58e2379
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/204b5c62148da609f2e6e19455b122f3e0ba9e71
204b5c6https://github.com/plotly/plotly.js/commit/204b5c62148da609f2e6e19455b122f3e0ba9e71
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/fcf077ecf8a9054253ba6add6359ab324ba09ad5
fcf077ehttps://github.com/plotly/plotly.js/commit/fcf077ecf8a9054253ba6add6359ab324ba09ad5
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/488cca19cc30022c025cfdfc7f499abf66ea7565
488cca1https://github.com/plotly/plotly.js/commit/488cca19cc30022c025cfdfc7f499abf66ea7565
https://github.com/TUSHAR4541
TUSHAR4541https://github.com/TUSHAR4541
on Sep 6, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-528784949
@etpinardhttps://github.com/etpinard
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Sep 6, 2019https://github.com/plotly/plotly.js/issues/771#issuecomment-528845042
@TUSHAR4541https://github.com/TUSHAR4541
#1340https://github.com/plotly/plotly.js/issues/1340
etpinardhttps://github.com/etpinard
on Sep 19, 2019https://github.com/plotly/plotly.js/issues/771#event-2648159130
fix many legend auto-margin push and positioning edge caseshttps://github.com/plotly/plotly.js/commit/85080b4e20c0569c6e53f3d33b4d13b5f801fb09
85080b4https://github.com/plotly/plotly.js/commit/85080b4e20c0569c6e53f3d33b4d13b5f801fb09
etpinardhttps://github.com/etpinard
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4160https://github.com/plotly/plotly.js/pull/4160
on Sep 23, 2019https://github.com/plotly/plotly.js/issues/771#event-2655783920
VerstandInvictushttps://github.com/VerstandInvictus
on Dec 13, 2019https://github.com/plotly/plotly.js/issues/771#event-2880186181
do not constrain legend (x,y) when `margin.autoexpand:false`https://github.com/plotly/plotly.js/commit/c33c92fb4c90e6f79a2dca7ac706405b52f9640d
c33c92fhttps://github.com/plotly/plotly.js/commit/c33c92fb4c90e6f79a2dca7ac706405b52f9640d
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/771
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/771
etpinardhttps://github.com/etpinard
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
v1.50.0https://github.com/plotly/plotly.js/milestone/46
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.