I'm filing this issue as a gathering point for the feature request of real stacked area charts.
The current solution to create stacked area charts is to plot cumulative variables which has multiple drawbacks:
A real solution would be to have an argument like layout(linemode = "stack"), same as there is for bar charts. Of course this would need some under-the-hood work in plotly.js first I guess.
Some more information:
I'm filing this issue as a gathering point for the feature request of real stacked area charts.
The current solution to create stacked area charts is to plot cumulative variables which has multiple drawbacks:
text = ...A real solution would be to have an argument like
layout(linemode = "stack"), same as there is for bar charts. Of course this would need some under-the-hood work inplotly.jsfirst I guess.Some more information:
plotly.js: Stacked Area Functionality plotly.js#344plotlyforR: Example code of stacked fill area #686ggplot2and then converting it to plotly usingggplotlydoesn't work as supposed either (the plot doesn't get rescaled correctly if traces in between are unselected, there will just be space left).JS): https://codepen.io/etpinard/pen/yOgdOb