Title: hover events for labels/legends · Issue #65 · plotly/plotly.js · GitHub
Open Graph Title: hover events for labels/legends · Issue #65 · plotly/plotly.js
X Title: hover events for labels/legends · Issue #65 · plotly/plotly.js
Description: I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label or legend item is hovered over. d3pie d...
Open Graph Description: I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label...
X Description: I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label...
Opengraph URL: https://github.com/plotly/plotly.js/issues/65
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hover events for labels/legends","articleBody":"I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label or legend item is hovered over. d3pie does this, and an example can be seen here: http://d3pie.org/#generator-start\n\nAs a starting point, it would be useful to have this `click` handler fire an event after it calls `Plotly.restyle` or `Plotly.relayout`: https://github.com/plotly/plotly.js/blob/47b13b0c2ecffae3ecb0b37d957978f3004a7ac7/src/components/legend/index.js#L484\n\nA `hover` handler for the same traces would help a lot as well.\n","author":{"url":"https://github.com/tlrdstd","@type":"Person","name":"tlrdstd"},"datePublished":"2015-12-03T00:06:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/65/plotly.js/issues/65"}
| 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:6ce46d92-86d7-3a32-4778-792333c97c6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA8A:3D821D:21C1F9F:30C092B:6A60B576 |
| html-safe-nonce | e0f44ee3146dbef34a5e8b30d05afcef93a77e1d97a91052156e61560206800b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQThBOjNEODIxRDoyMUMxRjlGOjMwQzA5MkI6NkE2MEI1NzYiLCJ2aXNpdG9yX2lkIjoiNzcwNzYyNTMxNjIwNzg2NzI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a2cee9eb223badacea0ac394cded74d61fb4a01206922d56769d3c7f63c94d9b |
| hovercard-subject-tag | issue:120064361 |
| 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/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6bfa4a7120f7a9b4fdf73becc72bbc8ce18aae3a952757af4704c15e474fe4ff/plotly/plotly.js/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6bfa4a7120f7a9b4fdf73becc72bbc8ce18aae3a952757af4704c15e474fe4ff/plotly/plotly.js/issues/65 |
| og:image:alt | I would like to be able to know when the user hovers or clicks on my label or legend items. Specifically, I would like to be able to highlight a given pie slice or bar trace when a particular label... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tlrdstd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35671f8a6946a7a2a81d51ae49f5465bdc5f925c23c9cb839206b24345dbe8d9 |
| 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 | 746dc49090e6e3995bb502dce0f8807393e36eda |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width