Title: Multiple issues with transforms · Issue #2908 · plotly/plotly.js · GitHub
Open Graph Title: Multiple issues with transforms · Issue #2908 · plotly/plotly.js
X Title: Multiple issues with transforms · Issue #2908 · plotly/plotly.js
Description: Open-source JavaScript charting library behind Plotly and Dash - Multiple issues with transforms · Issue #2908 · plotly/plotly.js
Open Graph Description: Open-source JavaScript charting library behind Plotly and Dash - Multiple issues with transforms · Issue #2908 · plotly/plotly.js
X Description: Open-source JavaScript charting library behind Plotly and Dash - Multiple issues with transforms · Issue #2908 · plotly/plotly.js
Opengraph URL: https://github.com/plotly/plotly.js
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple issues with transforms","articleBody":"I’ve been trying to add transforms to multiple trace types with varying degrees of success. Documentation doesn’t make it clear which trace types support transforms. All I know from discussion with @etpinard, is that anything that takes 2d arrays as input doesn’t support them.\r\n`react-chart-editor` as of now does not prepopulate target/targetsrc:\r\n\r\n```\r\n \"transforms\": [\r\n {\r\n \"type\": \"filter\",\r\n \"target\": [],\r\n \"targetsrc\": null\r\n }\r\n ]\r\n```\r\n\r\n**Results:**\r\n\r\nscatter3d: \r\n- filter: many warnings: `[.Offscreen-For-WebGL-0x7fef4b0d6800]RENDER WARNING: Render count or primcount is 0.`\r\n\r\n-> https://codepen.io/etpinard/pen/dgWJZg\r\n\r\nscatter3d + marker:’line’\r\n- filter: `Uncaught (in promise) TypeError: Cannot read property 'slice' of undefined\r\n at LinePlot.proto.update`\r\n\r\n-> https://codepen.io/etpinard/pen/Edmobo\r\n\r\ncone, streamtube, scattergeo, table, heatmap (with 1d array input), contour (with 1d array input)\r\n- any transforms: as I add them to `data`, they never get added to `fullData`\r\n\r\nchoropleth, scatterternary, scatterpolar, pie:\r\n- aggregate: `Error while plotting: TypeError: Cannot set property 'type' of undefined at Object.plots.supplyTransformDefaults`\r\n\r\npie:\r\n- filter: `Error: \u003cpath> attribute d: Expected number, \"MNaN,NaNa189.5,18…\".`\r\n\r\n-> https://codepen.io/etpinard/pen/wYdppB\r\n\r\n2d contour histogram:\r\n- filter: `Error while plotting: TypeError: Cannot read property 'length' of undefined\r\n at makeCrossings (plotly-with-meta.js?ab3a:146042)`\r\n\r\n\r\n**Edit:**\r\nAdd this one to the list:\r\n- When defining a `scatter` with just Y defined, and than add an aggregate:\r\n`Uncaught TypeError: Cannot set property 'type' of undefined\r\n at Object.plots.supplyTransformDefaults`\r\nhttps://codepen.io/dmt0/pen/xJoWoY\r\n\r\nThis one got **fixed in:** #3093","author":{"url":"https://github.com/dmt0","@type":"Person","name":"dmt0"},"datePublished":"2018-08-15T22:11:11Z","url":"https://github.com/plotly/plotly.js/issues/2908"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:5b8503f9-c6c2-416f-fd1e-3b70d08fd4e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87E0:323204:CB48E0:10D4033:6B01CA05 |
| html-safe-nonce | a59693b9084fb1c9b1c6d010268fd8fdb2904cab2fc97ee03855bc4e880caf86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0UwOjMyMzIwNDpDQjQ4RTA6MTBENDAzMzo2QjAxQ0EwNSIsInZpc2l0b3JfaWQiOiI3NDM3NjA5ODEwNDY5NzAyMTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 80d65d77ff3b9f8c20e07a3fff782bc286c1b582347fc2849c522d9bbbb90c22 |
| hovercard-subject-tag | repository:45646037 |
| 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/plotly/plotly.js/issues/2908 |
| twitter:image | https://opengraph.githubassets.com/57c90a5c507b7a2eb6579efb5bc579af0d74a853bc50c558b9dda8d7e24ca1dc/plotly/plotly.js |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57c90a5c507b7a2eb6579efb5bc579af0d74a853bc50c558b9dda8d7e24ca1dc/plotly/plotly.js |
| og:image:alt | Open-source JavaScript charting library behind Plotly and Dash - Multiple issues with transforms · Issue #2908 · plotly/plotly.js |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width