Title: Marshal `_indexToPoints` to interaction events; other additions · Issue #2128 · plotly/plotly.js · GitHub
Open Graph Title: Marshal `_indexToPoints` to interaction events; other additions · Issue #2128 · plotly/plotly.js
X Title: Marshal `_indexToPoints` to interaction events; other additions · Issue #2128 · plotly/plotly.js
Description: We have added logic to transforms such that the ultimate results of transforms can be associated with the original data points, via their positional indices. This way, interacting with e.g. an aggregate bar, the original points can be kn...
Open Graph Description: We have added logic to transforms such that the ultimate results of transforms can be associated with the original data points, via their positional indices. This way, interacting with e.g. an aggr...
X Description: We have added logic to transforms such that the ultimate results of transforms can be associated with the original data points, via their positional indices. This way, interacting with e.g. an aggr...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2128
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Marshal `_indexToPoints` to interaction events; other additions","articleBody":"We have [added logic](https://github.com/plotly/plotly.js/pull/2126#pullrequestreview-72393089) to `transforms` such that the ultimate results of `transforms` can be associated with the original data points, via their positional indices. This way, interacting with e.g. an aggregate bar, the original points can be known, which is crucial for `crossfilter` to work, among other possible uses.\r\n\r\nThe linked PR took care of the logic but exposing it via events is a useful next step: https://github.com/plotly/plotly.js/pull/2126#pullrequestreview-72395582\r\n\r\nBesides this, other changes are needed:\r\n\r\n- [x] cover `groupBy`and `sort` transforms as well (`groupBy` is not currently working with `crossfilter`, so it was less of a priority) done in https://github.com/plotly/plotly.js/pull/2162\r\n- [x] extract the few lines that are identical between the `filter.js` and `aggregation.js` implementations\r\n- [ ] add more test cases with various `transforms` sequences","author":{"url":"https://github.com/monfera","@type":"Person","name":"monfera"},"datePublished":"2017-10-27T07:31:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2128/plotly.js/issues/2128"}
| 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:184b3807-1d1c-bc9f-2e01-62d24648c6c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C160:1A5B4D:C73EA9:11CCA6E:6A5A02B2 |
| html-safe-nonce | 6d9a6ef17eb2a70d95d998198445bbbf9e9111e6488a79edc95235545b6f4bbc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTYwOjFBNUI0RDpDNzNFQTk6MTFDQ0E2RTo2QTVBMDJCMiIsInZpc2l0b3JfaWQiOiIyMzc3ODMwODQxODgyMTE2Nzg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 70708f929836f587307d491396f04f04c5e4614e55ba00185b2bfa9108105b35 |
| hovercard-subject-tag | issue:269013250 |
| 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/2128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6ea5115351f0c56175a4c1e8bb8d410bd1ac2d57435dd8733d25010062ed848/plotly/plotly.js/issues/2128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6ea5115351f0c56175a4c1e8bb8d410bd1ac2d57435dd8733d25010062ed848/plotly/plotly.js/issues/2128 |
| og:image:alt | We have added logic to transforms such that the ultimate results of transforms can be associated with the original data points, via their positional indices. This way, interacting with e.g. an aggr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | monfera |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3f961cfc83a4348ee5be7691cf4ae3515aab3ef5200c13a7e41b048125fb61 |
| 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 | ac4d28603af300ac851b62521abb878ab5d3319a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width