Title: 'catch-all' hover/click events · Issue #2696 · plotly/plotly.js · GitHub
Open Graph Title: 'catch-all' hover/click events · Issue #2696 · plotly/plotly.js
X Title: 'catch-all' hover/click events · Issue #2696 · plotly/plotly.js
Description: It'd be awesome to have dedicated events for obtaining the mouse position (in graph paper/axis coordinates) upon clicking/hovering anywhere on a plot. This could be useful for many things, including adding annotations on click in a dash/...
Open Graph Description: It'd be awesome to have dedicated events for obtaining the mouse position (in graph paper/axis coordinates) upon clicking/hovering anywhere on a plot. This could be useful for many things, includin...
X Description: It'd be awesome to have dedicated events for obtaining the mouse position (in graph paper/axis coordinates) upon clicking/hovering anywhere on a plot. This could be useful for many things, incl...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2696
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'catch-all' hover/click events","articleBody":"It'd be awesome to have dedicated events for obtaining the mouse position (in graph paper/axis coordinates) upon clicking/hovering *anywhere* on a plot.\r\n\r\nThis could be useful for many things, including adding annotations on click in a dash/shiny application. In fact, [the R community is used to having this capability for any static figure in a shiny application](https://github.com/ropensci/plotly/issues/1194).\r\n\r\nPS. this is a feature request related to [some existing threads](https://community.plot.ly/t/plotly-js-click-detection/2708), but was surprised that I couldn't find an existing GH issue\r\n\r\n","author":{"url":"https://github.com/cpsievert","@type":"Person","name":"cpsievert"},"datePublished":"2018-06-05T21:10:17Z","url":"https://github.com/plotly/plotly.js/issues/2696"}
| 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:f8c26cd3-757c-b960-b842-ec58c03d536b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80C0:2BE220:D5C9FF:11E919F:6B010218 |
| html-safe-nonce | 100cc1379e31f90f4cefd87a91683545c174ac0a04bee74d86a395fd952a9d4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEMwOjJCRTIyMDpENUM5RkY6MTFFOTE5Rjo2QjAxMDIxOCIsInZpc2l0b3JfaWQiOiI1MTcyNjE4ODI5MzY4NDU5ODAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 507ed57d4635d90878e12ca20bf9e080accad28fc0a105763e663c3f9762ac79 |
| hovercard-subject-tag | issue:329626274 |
| 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/2696/issue_layout |
| twitter:image | https://opengraph.githubassets.com/747fd096a9f0f91b2ffa3815dc1bb77a3894be54dd58334d8872a45ecc07eebc/plotly/plotly.js/issues/2696 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/747fd096a9f0f91b2ffa3815dc1bb77a3894be54dd58334d8872a45ecc07eebc/plotly/plotly.js/issues/2696 |
| og:image:alt | It'd be awesome to have dedicated events for obtaining the mouse position (in graph paper/axis coordinates) upon clicking/hovering anywhere on a plot. This could be useful for many things, includin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cpsievert |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width