Title: plotlyClick event doesnt work · Issue #260 · plotly/angular-plotly.js · GitHub
Open Graph Title: plotlyClick event doesnt work · Issue #260 · plotly/angular-plotly.js
X Title: plotlyClick event doesnt work · Issue #260 · plotly/angular-plotly.js
Description: Below is in my angular.ts file
Open Graph Description: Below is in my angular.ts file
X Description: Below is in my angular.ts file <plotly-plot [data]="_traces" [config]="_config" [layout]="_layout" (plotlyClick)="onClick($event)" ></plotly-plot>...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/260
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plotlyClick event doesnt work","articleBody":"Below is in my angular.ts file\r\n`\u003cplotly-plot [data]=\"_traces\" [config]=\"_config\" [layout]=\"_layout\"\r\n (plotlyClick)=\"onClick($event)\"\r\n \u003e\u003c/plotly-plot\u003e\r\n`\r\nTS Code : \r\n`onClick(event:any){\r\n console.log(event) \r\n }\r\n`\r\n\r\nNot sure why the above code doesn't work, \r\nMy end goal is to get the clicked x-axis label in a horizontal bar chart, I am trying with different approaches but didn't work, so just putting this simple code as I am not sure if its possible to implement this feature\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/rajyadav-bh","@type":"Person","name":"rajyadav-bh"},"datePublished":"2024-06-09T17:47:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/260/angular-plotly.js/issues/260"}
| 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:800e29ca-f577-9264-acd3-c562107df759 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB4E:33BAC5:1B7CEFD:25913EB:6964C24E |
| html-safe-nonce | 899304e1a0ac9af3208118f2bbabc46937284094ad1b0b60550db6b3bd7af057 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjRFOjMzQkFDNToxQjdDRUZEOjI1OTEzRUI6Njk2NEMyNEUiLCJ2aXNpdG9yX2lkIjoiNzY1OTk2NDg2Mjk3MTU2MDUyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30408a0416f0ed32b82fca46e3c4261fcf0face0e414a91054fc9be0ec5ab8e5 |
| hovercard-subject-tag | issue:2342400895 |
| 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/angular-plotly.js/260/issue_layout |
| twitter:image | https://opengraph.githubassets.com/199870665db98a0f7959c1f613b5093a4e3c2a56c3ca890468694ce84a8ae35b/plotly/angular-plotly.js/issues/260 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/199870665db98a0f7959c1f613b5093a4e3c2a56c3ca890468694ce84a8ae35b/plotly/angular-plotly.js/issues/260 |
| og:image:alt | Below is in my angular.ts file |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajyadav-bh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21df671ce2c9f1a16940ccbd3af6cb4f3f12a856929ca7eb1b4aea8e384ea442 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/angular-plotly.js git https://github.com/plotly/angular-plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 125262347 |
| octolytics-dimension-repository_nwo | plotly/angular-plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125262347 |
| octolytics-dimension-repository_network_root_nwo | plotly/angular-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 | 5707c685ac172d50a0bdd7533dde4f8aabcf8eef |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width