Can line graph be styled like this in plotly?

Hi

I’m very new to using plotly. Is it possible to style a line graph like the one shown below? It seems it is not possible to add a fill on a line graph.

Hi,

Welcome to the community!

Yes, it is possible using fill="tozeroy". Please take a look at this part of the docs.

1 Like

Thank you! Works perfect. Didn’t even think to look a scatter graphs.