I am using Plotly.js in a Ruby on Rails application to create interactive charts. However, when I try to download a chart as a PNG by clicking the camera icon in the mode bar, I receive the following error:
Error Message:
“Sorry there was a problem downloading your png.”
I have tried the following steps to debug the issue:
- Disabled all browser extensions and tried in incognito mode.
Environment:
- plotly-rails-js version: [1.39.2]
- Ruby on Rails version: [5.2.6]
- Browser: [Chrome]
- OS: [macOS Monterey]
Question:
- Has anyone encountered this issue before when using Plotly.js with Rails?
- Are there any known issues or additional configurations needed for Plotly.js to properly download charts as PNG in a Rails environment?
- Any suggestions or guidance on how to resolve this issue would be greatly appreciated.
Thank you for your help!