-
Notifications
You must be signed in to change notification settings - Fork 633
Filling under the lines for 3D-Plots in R #1179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
'scatter3d' doesn't yet support fill attributes...this would have to be added at the plotly.js level. Moving the issue here plotly/plotly.js#2352 |
By the way, you can achieve something similar with 3d surfaces https://plot.ly/python/3d-filled-line-plots/ |
I have already seen and tried that. I think, it does not fill under the lines. If you look at the plot carefully for the lines "China" and "India", you can notice it. If the lines are linear during the x-axis, they can be filled with "tonexty" in R without problem. By the way, thank you for your interest. |
Anyone found solution please update here :( for plotly.js |
Solution would be appreciated! |
I would like to plot a 3D-Line Plot with Plotly in R for time-series and fill the areas under the every lines. I have an example code here.
with this code I can produce this plot
To fill the areas I have already tried setting surfaceaxis=0, 1, or 2 and they produced wrong fillings.
Here is the 3D-Plotly with wrong filling

To make an area plot with interior filling for 2D man can set "fill" to "tonexty". But it does not work for 3D-Plots
Is it a bug for 3D-Plots or am I missing something? Thanks in advance
The text was updated successfully, but these errors were encountered: