Black Lives Matter. Please consider donating to Black Girls Code today.

How to create fill with gradient (tozeroy), autostart animation?

Hello! :wink:

I use react-plotly.js

I want to create line chart with vertical line gradient from y to x (‘tozeroy’) [By the way, ‘tozeroy’ don’t work with type ‘scatter’, only ‘scattergl’ in react package. In pure plot.ly it work.].

How can I create gradient fill and animation like this:
https://www.highcharts.com/demo/line-time-series/dark-unica ?

Thank you!
Thank you, developers of this awesome library.

1 Like

We don’t support gradient fills at the moment unfortunately.

Please consider adding this feature…thanks!