Orca not plotting the data

I am using Shiny modules along with plotly to plot my charts. I am using orca function to download the images locally in the png format. The images are being published on the browser but when trying to save them locally using the orca function, a .png file is creates but there is no plot in it. It has axes and the grid lines drawn in it.

The data is there as the charts is being plotted on the web browser but not being saved locally on the drive.

Any help is appreciated.