Multiple issues with transforms
See original GitHub issueI’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.
react-chart-editor
as of now does not prepopulate target/targetsrc:
"transforms": [
{
"type": "filter",
"target": [],
"targetsrc": null
}
]
Results:
scatter3d:
- filter: many warnings:
[.Offscreen-For-WebGL-0x7fef4b0d6800]RENDER WARNING: Render count or primcount is 0.
-> https://codepen.io/etpinard/pen/dgWJZg
scatter3d + marker:’line’
- filter:
Uncaught (in promise) TypeError: Cannot read property 'slice' of undefined at LinePlot.proto.update
-> https://codepen.io/etpinard/pen/Edmobo
cone, streamtube, scattergeo, table, heatmap (with 1d array input), contour (with 1d array input)
- any transforms: as I add them to
data
, they never get added tofullData
choropleth, scatterternary, scatterpolar, pie:
- aggregate:
Error while plotting: TypeError: Cannot set property 'type' of undefined at Object.plots.supplyTransformDefaults
pie:
- filter:
Error: <path> attribute d: Expected number, "MNaN,NaNa189.5,18…".
-> https://codepen.io/etpinard/pen/wYdppB
2d contour histogram:
- filter:
Error while plotting: TypeError: Cannot read property 'length' of undefined at makeCrossings (plotly-with-meta.js?ab3a:146042)
Edit: Add this one to the list:
- When defining a
scatter
with just Y defined, and than add an aggregate:Uncaught TypeError: Cannot set property 'type' of undefined at Object.plots.supplyTransformDefaults
https://codepen.io/dmt0/pen/xJoWoY
This one got fixed in: #3093
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Multiple transformations (article) | Khan Academy
When you do multiple transformations, the order makes a difference. A rotation followed by a translate followed by a scale will not give...
Read more >How to apply multiple transforms in CSS? - Stack Overflow
Just start from there that in CSS, if you repeat 2 values or more, always last one gets applied, unless using ! important...
Read more >Troubleshooting transforms | Elasticsearch Guide [7.17] | Elastic
If you encounter problems with your transforms, you can gather more information from the following files and APIs: Lightweight audit messages are stored...
Read more >Multiple Transformations of CTS (Solved Problem 1) - YouTube
Signals & Systems: Multiple Transformations of Continuous-Time Signals (Solved Problem 1) Topics Covered:1. Solving problems based on ...
Read more >Multiple Transformations of CTS (Solved Problem 2) - YouTube
Signals and Systems: Multiple Transformations of Continuous-Time Signals (Solved Problem 2) Topics Discussed:1. Multiple transformations of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As far as I can tell, @antoinerg 's https://github.com/plotly/plotly.js/pull/3158 removed the
transforms
attribute container from all traces that do not support transforms.scatterpolar
now looks like:https://codepen.io/etpinard/pen/YJVYYd