René's URL Explorer Experiment


Title: Legend events by etpinard · Pull Request #2581 · plotly/plotly.js · GitHub

Open Graph Title: Legend events by etpinard · Pull Request #2581 · plotly/plotly.js

X Title: Legend events by etpinard · Pull Request #2581 · plotly/plotly.js

Description: Open-source JavaScript charting library behind Plotly and Dash - Legend events by etpinard · Pull Request #2581 · plotly/plotly.js

Open Graph Description: This PR adds legend two events plotly_legendclick and plotly_legenddoubleclick. Note that, as per @alexcjohnson 's recommendation in #65 (comment), these new events are emitted using Events.tri...

X Description: This PR adds legend two events plotly_legendclick and plotly_legenddoubleclick. Note that, as per @alexcjohnson 's recommendation in #65 (comment), these new events are emitted using Events...

Opengraph URL: https://github.com/plotly/plotly.js/pull/2581

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fd5c58a2-175b-81bd-85e8-8f412257af71
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA740:240621:205DA56:2C86061:6A6097A5
html-safe-noncecce15dd0e49fedeb126221c9e1eb571fda79e6ed7b59cfa7bdb7f38e5e8a67ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzQwOjI0MDYyMToyMDVEQTU2OjJDODYwNjE6NkE2MDk3QTUiLCJ2aXNpdG9yX2lkIjoiODU1NDQyMDc1OTA0OTU3NDMwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac03ea33a4da99018048cbf38c517fca0eb1d2c535ae3fafa639a85aa29be39ea6
hovercard-subject-tagpull_request:184150991
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/2581/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e99ebe9af936c2122a1972b7edc62ae56bdba1bf82822accfe98a4f2f75c8bc3/plotly/plotly.js/pull/2581
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e99ebe9af936c2122a1972b7edc62ae56bdba1bf82822accfe98a4f2f75c8bc3/plotly/plotly.js/pull/2581
og:image:altThis PR adds legend two events plotly_legendclick and plotly_legenddoubleclick. Note that, as per @alexcjohnson 's recommendation in #65 (comment), these new events are emitted using Events.tri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameetpinard
hostnamegithub.com
expected-hostnamegithub.com
None5142d23feb6a650085422edf60d68c93777dfa6c4b0c9151eb464d3e4969f618
turbo-cache-controlno-cache
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
releaseb2111e158bcd758ab9d0446577ae8f5dd78fcca8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/2581#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F2581
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F2581
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/2581
Reloadhttps://github.com/plotly/plotly.js/pull/2581
Reloadhttps://github.com/plotly/plotly.js/pull/2581
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
plotly https://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Fork 2k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Star 18.3k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Code https://github.com/plotly/plotly.js
Issues 775 https://github.com/plotly/plotly.js/issues
Pull requests 54 https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality 0 https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
Code https://github.com/plotly/plotly.js
Issues https://github.com/plotly/plotly.js/issues
Pull requests https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
legend-eventshttps://github.com/plotly/plotly.js/tree/legend-events
Conversationhttps://github.com/plotly/plotly.js/pull/2581
Commits9 (9)https://github.com/plotly/plotly.js/pull/2581/commits
Checkshttps://github.com/plotly/plotly.js/pull/2581/checks
Files changedhttps://github.com/plotly/plotly.js/pull/2581/files
Legend eventshttps://github.com/plotly/plotly.js/pull/2581#top
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
legend-eventshttps://github.com/plotly/plotly.js/tree/legend-events
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 25, 2018https://github.com/plotly/plotly.js/pull/2581#issue-317778005
@alexcjohnsonhttps://github.com/alexcjohnson
#65 (comment)https://github.com/plotly/plotly.js/issues/65#issuecomment-162097388
plotly.js/src/lib/events.jshttps://github.com/plotly/plotly.js/blob/4ed586a6402073cc5c50a40cad5f652d7472fcce/src/lib/events.js#L93-L96
4ed586ahttps://github.com/plotly/plotly.js/commit/4ed586a6402073cc5c50a40cad5f652d7472fcce
hover events for labels/legends #65https://github.com/plotly/plotly.js/issues/65
Add ability to disable legend trace toggling #665https://github.com/plotly/plotly.js/issues/665
[Enhancement] Legend and traces toggling #674https://github.com/plotly/plotly.js/issues/674
[Enhancement] Legend and traces three-way toggling #1462https://github.com/plotly/plotly.js/issues/1462
@jackparmerhttps://github.com/jackparmer
@willdurandhttps://github.com/willdurand
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
etpinardhttps://github.com/etpinard
April 25, 2018 14:44https://github.com/plotly/plotly.js/pull/2581#commits-pushed-8e2d1fe
https://github.com/etpinard
rename fail -> failTesthttps://github.com/plotly/plotly.js/pull/2581/commits/8e2d1fe7f5539a78cdba2223c20ee512ca4677f5
8e2d1fehttps://github.com/plotly/plotly.js/pull/2581/commits/8e2d1fe7f5539a78cdba2223c20ee512ca4677f5
https://github.com/etpinard
fix typos in lib/events.js 📚https://github.com/plotly/plotly.js/pull/2581/commits/1f3163a3185bed44dbd017764b31cee11a663759
1f3163ahttps://github.com/plotly/plotly.js/pull/2581/commits/1f3163a3185bed44dbd017764b31cee11a663759
https://github.com/etpinard
add 'plotly_legendclick' and 'plotly_doubleclick' eventshttps://github.com/plotly/plotly.js/pull/2581/commits/92748601753517a171faea82725bffaca1cf9adc
9274860https://github.com/plotly/plotly.js/pull/2581/commits/92748601753517a171faea82725bffaca1cf9adc
https://github.com/etpinard
etpinardhttps://github.com/etpinard
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
status: discussion needed https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20discussion%20needed%22
Apr 25, 2018https://github.com/plotly/plotly.js/pull/2581#event-1595006293
https://github.com/etpinard
etpinardhttps://github.com/etpinard
1.37.0https://github.com/plotly/plotly.js/milestone/33
Apr 25, 2018https://github.com/plotly/plotly.js/pull/2581#event-1595006302
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
Apr 25, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-384433747
@bpostlethwaitehttps://github.com/bpostlethwaite
#1546https://github.com/plotly/plotly.js/issues/1546
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/bpostlethwaite
bpostlethwaitehttps://github.com/bpostlethwaite
Apr 26, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-384607325
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 26, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-384660711
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
🔪 obsolete deprecation warning for Events.triggerHandlerhttps://github.com/plotly/plotly.js/pull/2581/commits/76b4b10096074605d36aa907b59eb750c77193dd
76b4b10https://github.com/plotly/plotly.js/pull/2581/commits/76b4b10096074605d36aa907b59eb750c77193dd
https://github.com/etpinard
etpinardhttps://github.com/etpinard
status: reviewable https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20reviewable%22
status: discussion needed https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20discussion%20needed%22
Apr 26, 2018https://github.com/plotly/plotly.js/pull/2581#event-1597189558
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 26, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-384741225
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
76b4b10https://github.com/plotly/plotly.js/commit/76b4b10096074605d36aa907b59eb750c77193dd
plotly_doubleclick also triggers plotly_click #1546https://github.com/plotly/plotly.js/issues/1546
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
etpinardhttps://github.com/etpinard
April 30, 2018 13:15https://github.com/plotly/plotly.js/pull/2581#commits-pushed-47b1f44
https://github.com/etpinard
Merge branch 'master' into legend-eventshttps://github.com/plotly/plotly.js/pull/2581/commits/47b1f4411db082c1e845c5bd480077114514cfc0
47b1f44https://github.com/plotly/plotly.js/pull/2581/commits/47b1f4411db082c1e845c5bd480077114514cfc0
https://github.com/etpinard
improve and 🔒 plotly_legend(double)click event datahttps://github.com/plotly/plotly.js/pull/2581/commits/02a85bf609bddfad3d6e9d80ee44b3bed40478e4
https://github.com/plotly/plotly.js/commit/02a85bf609bddfad3d6e9d80ee44b3bed40478e4#comments
02a85bfhttps://github.com/plotly/plotly.js/pull/2581/commits/02a85bf609bddfad3d6e9d80ee44b3bed40478e4
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 30, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-385496821
02a85bfhttps://github.com/plotly/plotly.js/commit/02a85bf609bddfad3d6e9d80ee44b3bed40478e4
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 30, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-385549532
gd.oncehttps://nodejs.org/api/events.html#events_emitter_once_eventname_listener
https://user-images.githubusercontent.com/6675409/39453774-7a388a8c-4ca5-11e8-8c82-03cec1b46070.png
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
etpinardhttps://github.com/etpinard
May 1, 2018 10:58https://github.com/plotly/plotly.js/pull/2581#commits-pushed-9a7cc14
https://github.com/etpinard
fix and 🔒 triggerHandlers for ".once" handlershttps://github.com/plotly/plotly.js/pull/2581/commits/9a7cc143ffffd8a7c1c117fd2174a1532fd2f521
9a7cc14https://github.com/plotly/plotly.js/pull/2581/commits/9a7cc143ffffd8a7c1c117fd2174a1532fd2f521
https://github.com/etpinard
trigger plotly_legendclick out of single-click timeouthttps://github.com/plotly/plotly.js/pull/2581/commits/fde209f007ec2dc90aa22992c4a09fddedab417a
fde209fhttps://github.com/plotly/plotly.js/pull/2581/commits/fde209f007ec2dc90aa22992c4a09fddedab417a
https://github.com/etpinard
add 'label' in legend event data for pie traceshttps://github.com/plotly/plotly.js/pull/2581/commits/05e1b6b8c21258dc619b3732f9b59bdb827d1f1c
05e1b6bhttps://github.com/plotly/plotly.js/pull/2581/commits/05e1b6b8c21258dc619b3732f9b59bdb827d1f1c
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 1, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-385703481
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
@alexcjohnsonhttps://github.com/alexcjohnson
Legend events #2581 (comment)https://github.com/plotly/plotly.js/pull/2581#issuecomment-385549532
9a7cc14https://github.com/plotly/plotly.js/commit/9a7cc143ffffd8a7c1c117fd2174a1532fd2f521
fde209fhttps://github.com/plotly/plotly.js/commit/fde209f007ec2dc90aa22992c4a09fddedab417a
05e1b6bhttps://github.com/plotly/plotly.js/commit/05e1b6b8c21258dc619b3732f9b59bdb827d1f1c
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
May 1, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-385715267
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
etpinardhttps://github.com/etpinard
ef6b259https://github.com/plotly/plotly.js/commit/ef6b259f09c54774721e9ecfea808f84561d5f69
May 1, 2018https://github.com/plotly/plotly.js/pull/2581#event-1603771048
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 1, 2018 17:24https://github.com/plotly/plotly.js/pull/2581#event-1603771143
hover events for labels/legends #65 https://github.com/plotly/plotly.js/issues/65
[Enhancement] Legend and traces toggling #674 https://github.com/plotly/plotly.js/issues/674
[Enhancement] Legend and traces three-way toggling #1462 https://github.com/plotly/plotly.js/issues/1462
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 17, 2018 https://github.com/plotly/plotly.js/pull/2581#ref-issue-323937561
Implement legend entries for surface (and others like heatmap, contour) traces #2642 https://github.com/plotly/plotly.js/issues/2642
https://github.com/jacobq
jacobqhttps://github.com/jacobq
May 31, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-393603619
where I expected them to behttps://plot.ly/javascript/plotlyjs-events/#additional-events
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 31, 2018 https://github.com/plotly/plotly.js/pull/2581#ref-issue-328233615
Add info about new legend events plotly/documentation#937 https://github.com/plotly/documentation/issues/937
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 31, 2018https://github.com/plotly/plotly.js/pull/2581#issuecomment-393614977
@jacobqhttps://github.com/jacobq
plotly/documentation#937https://github.com/plotly/documentation/issues/937
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
Jun 12, 2018 https://github.com/plotly/plotly.js/pull/2581#ref-issue-330638108
Add viewbox attibute to make plot scale #2711 https://github.com/plotly/plotly.js/issues/2711
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Jun 29, 2018 https://github.com/plotly/plotly.js/pull/2581#ref-issue-161207058
Add ability to disable legend trace toggling #665 https://github.com/plotly/plotly.js/issues/665
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Jan 22, 2019 https://github.com/plotly/plotly.js/pull/2581#ref-issue-117576016
question: Is it possible to disable interaction with a plot? #15 https://github.com/plotly/plotly.js/issues/15
https://github.com/etpinard
etpinardhttps://github.com/etpinard
May 14, 2019 https://github.com/plotly/plotly.js/pull/2581#ref-pullrequest-444065703
Add legend click interaction attrs #3862 https://github.com/plotly/plotly.js/pull/3862
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F2581
feature https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature
1.37.0 https://github.com/plotly/plotly.js/milestone/33
Please reload this pagehttps://github.com/plotly/plotly.js/pull/2581
https://github.com/etpinard
https://github.com/alexcjohnson
https://github.com/bpostlethwaite
https://github.com/jacobq
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.