René's URL Explorer Experiment


Title: highlight_key isn't working with shiny - TypeError: pt.pointNumber is undefined · Issue #1610 · plotly/plotly.R · GitHub

Open Graph Title: highlight_key isn't working with shiny - TypeError: pt.pointNumber is undefined · Issue #1610 · plotly/plotly.R

X Title: highlight_key isn't working with shiny - TypeError: pt.pointNumber is undefined · Issue #1610 · plotly/plotly.R

Description: I was trying to highlight an histogram bar with plotly and shiny. The combinaison of functions highlight_key and highlight are working in my usecase with plotly. But when I put this code in a shiny app, the app is crashing with the javas...

Open Graph Description: I was trying to highlight an histogram bar with plotly and shiny. The combinaison of functions highlight_key and highlight are working in my usecase with plotly. But when I put this code in a shiny...

X Description: I was trying to highlight an histogram bar with plotly and shiny. The combinaison of functions highlight_key and highlight are working in my usecase with plotly. But when I put this code in a shiny...

Opengraph URL: https://github.com/plotly/plotly.R/issues/1610

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"highlight_key isn't working with shiny - TypeError: pt.pointNumber is undefined","articleBody":"I was trying to highlight an histogram bar with plotly and shiny. \r\nThe combinaison of functions highlight_key and highlight are working in my usecase with plotly.\r\nBut when I put this code in a shiny app, the app is crashing with the javascript error: \r\n\r\n```\r\nTypeError: pt.pointNumber is undefined\r\n```\r\n\r\nThis is the code I use with plotly only:\r\n\r\n```r\r\n  inputCol \u003c- \"carb\"\r\n    highlight_key(mtcars, ~carb) %>%\r\n    plot_ly(x = ~mtcars[[inputCol]],\r\n            type = \"histogram\") %>%\r\n    layout(barmode = \"overlay\") %>% \r\n    highlight(on = \"plotly_hover\", off=\"plotly_deselect\") \r\n```\r\n\r\nThis is the same code inside a shiny app: \r\n\r\n```r\r\n #### Dependencies ####\r\n    library(shiny)\r\n    library(plotly)\r\n    library(plyr)\r\n\r\n    # Define UI for application that draws a histogram\r\n    ui \u003c- fluidPage(\r\n      \r\n      # Sidebar with a slider input for number of bins \r\n      sidebarLayout(\r\n        sidebarPanel(\r\n          verbatimTextOutput(\"text\")\r\n        ),\r\n\r\n        # Show a plot of the generated distribution\r\n        mainPanel(\r\n          plotlyOutput(\"distPlotTest\")\r\n        )\r\n      )\r\n    )\r\n    \r\n    # Define server logic required to draw a histogram\r\n    server \u003c- function(input, output) {\r\n\r\n     \r\n      output$distPlotTest \u003c- renderPlotly({\r\n\r\n        inputCol \u003c- \"carb\"\r\n        highlight_key(mtcars, ~carb) %>%\r\n          plot_ly(x = ~mtcars[[inputCol]],\r\n                  type = \"histogram\") %>%\r\n          layout(barmode = \"overlay\") %>% \r\n          highlight(on = \"plotly_hover\", off=\"plotly_deselect\") \r\n        \r\n        \r\n      })\r\n      \r\n    }\r\n    \r\n    # Run the application\r\n    shinyApp(ui = ui, server = server) # Run the application without password\r\n```","author":{"url":"https://github.com/JeremyBesson","@type":"Person","name":"JeremyBesson"},"datePublished":"2019-09-03T15:14:28Z","url":"https://github.com/plotly/plotly.R/issues/1610"}

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:9f060949-bd50-73d1-89e0-a9715c8e09b4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D82:4E3C:DE8D74:12817C9:6B00FEDB
html-safe-noncea48d7dcb3bfc9d12bef7625ed5fe377e2138d703544eef0d865e42da92775431
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDgyOjRFM0M6REU4RDc0OjEyODE3Qzk6NkIwMEZFREIiLCJ2aXNpdG9yX2lkIjoiMzM5NTkyNzA5OTY3MDg1NTM4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac19eaed1cb22cc6bb0d3121bd7a8a3d8fc071bdc68e6fdbdb9b207e75dfba8c30
hovercard-subject-tagissue:488666851
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.R/1610/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3ff3431e894b6ad07fdc54273cf0ffcd5a77375677631faa9d967fb0ae7782f6/plotly/plotly.R/issues/1610
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ff3431e894b6ad07fdc54273cf0ffcd5a77375677631faa9d967fb0ae7782f6/plotly/plotly.R/issues/1610
og:image:altI was trying to highlight an histogram bar with plotly and shiny. The combinaison of functions highlight_key and highlight are working in my usecase with plotly. But when I put this code in a shiny...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJeremyBesson
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.R git https://github.com/plotly/plotly.R.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579179
octolytics-dimension-repository_nwoplotly/plotly.R
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579179
octolytics-dimension-repository_network_root_nwoplotly/plotly.R
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.R/issues/1610#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F1610
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.R%2Fissues%2F1610
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.R
Reloadhttps://github.com/plotly/plotly.R/issues/1610
Reloadhttps://github.com/plotly/plotly.R/issues/1610
Reloadhttps://github.com/plotly/plotly.R/issues/1610
plotlyhttps://github.com/plotly
plotly.Rhttps://github.com/plotly/plotly.R
Codehttps://github.com/plotly/plotly.R
Issues716 (716)https://github.com/plotly/plotly.R/issues
Pull requests47 (47)https://github.com/plotly/plotly.R/pulls
Discussionshttps://github.com/plotly/plotly.R/discussions
Actionshttps://github.com/plotly/plotly.R/actions
Projectshttps://github.com/plotly/plotly.R/projects
Wikihttps://github.com/plotly/plotly.R/wiki
Security and qualityhttps://github.com/plotly/plotly.R/security
Insightshttps://github.com/plotly/plotly.R/insights
https://github.com/plotly/plotly.R
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/1610
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/1610
#1611https://github.com/plotly/plotly.R/pull/1611
highlight_key isn't working with shiny - TypeError: pt.pointNumber is undefinedhttps://github.com/plotly/plotly.R/issues/1610#top
#1611https://github.com/plotly/plotly.R/pull/1611
bughttps://github.com/plotly/plotly.R/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/JeremyBesson
JeremyBessonhttps://github.com/JeremyBesson
on Sep 3, 2019https://github.com/plotly/plotly.R/issues/1610#issue-488666851
cpsieverthttps://github.com/cpsievert
bughttps://github.com/plotly/plotly.R/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 3, 2019https://github.com/plotly/plotly.R/issues/1610#event-2604008025
cpsieverthttps://github.com/cpsievert
on Sep 3, 2019https://github.com/plotly/plotly.R/issues/1610#event-2604073741
Improvements to algorithm for attaching key attribute for shiny's eve…https://github.com/plotly/plotly.R/commit/2c219fe7428468d807737a8be5782062076bb378
https://docs.github.com/articles/closing-issues-via-commit-messages
2c219fehttps://github.com/plotly/plotly.R/commit/2c219fe7428468d807737a8be5782062076bb378
Improvements to algorithm for attaching key attribute for shiny's eve…https://github.com/plotly/plotly.R/commit/8bc36b949b162873fb15335475d49cfa1f7150ca
https://docs.github.com/articles/closing-issues-via-commit-messages
8bc36b9https://github.com/plotly/plotly.R/commit/8bc36b949b162873fb15335475d49cfa1f7150ca
cpsieverthttps://github.com/cpsievert
completedhttps://github.com/plotly/plotly.R/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1611https://github.com/plotly/plotly.R/pull/1611
on Sep 3, 2019https://github.com/plotly/plotly.R/issues/1610#event-2605052519
cpsieverthttps://github.com/cpsievert
on Sep 3, 2019https://github.com/plotly/plotly.R/issues/1610#event-2605052569
Merge pull request #1611 from ropensci/shiny-event-data-keyhttps://github.com/plotly/plotly.R/commit/17466a385c678a199aa09fa48b018b4829d285a8
#1611https://github.com/plotly/plotly.R/pull/1611
https://docs.github.com/articles/closing-issues-via-commit-messages
17466a3https://github.com/plotly/plotly.R/commit/17466a385c678a199aa09fa48b018b4829d285a8
chschanhttps://github.com/chschan
on Mar 12, 2020https://github.com/plotly/plotly.R/issues/1610#event-3121270927
[pull] master from ropensci:master (#2)https://github.com/Displayr/plotly/commit/32dde4152264fdfa964f7b3c796fb3ac91b17666
#2https://github.com/Displayr/plotly/pull/2
https://docs.github.com/articles/closing-issues-via-commit-messages
32dde41https://github.com/Displayr/plotly/commit/32dde4152264fdfa964f7b3c796fb3ac91b17666
chschanhttps://github.com/chschan
on Jun 26, 2022https://github.com/plotly/plotly.R/issues/1610#event-6880336068
[pull] master from ropensci:master (#2)https://github.com/Displayr/plotly/commit/504c33f5a9c92f511cfeade4708bfa5928d13dcc
#2https://github.com/Displayr/plotly/pull/2
https://docs.github.com/articles/closing-issues-via-commit-messages
504c33fhttps://github.com/Displayr/plotly/commit/504c33f5a9c92f511cfeade4708bfa5928d13dcc
chschanhttps://github.com/chschan
on Jul 4, 2022https://github.com/plotly/plotly.R/issues/1610#event-6924524252
Plotly june2022 (#18)https://github.com/Displayr/plotly/commit/55f49ee1fce06c206aed509fa1a944ac49fc5560
#18https://github.com/Displayr/plotly/pull/18
https://docs.github.com/articles/closing-issues-via-commit-messages
55f49eehttps://github.com/Displayr/plotly/commit/55f49ee1fce06c206aed509fa1a944ac49fc5560
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.R/issues/1610
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/1610
bughttps://github.com/plotly/plotly.R/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.