You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Generating a stacked area chart in ggplot2 and then converting it to plotly using ggplotly doesn't work as supposed either (the plot doesn't get rescaled correctly if traces in between are unselected, there will just be space left).
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.js
first I guess.Some more information:
plotly.js
: Stacked Area Functionality plotly.js#344plotly
forR
: Example code of stacked fill area #686ggplot2
and then converting it to plotly usingggplotly
doesn'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/yOgdObThe text was updated successfully, but these errors were encountered: