Download png button not working in shiny app
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- R
- Estrellas
- 2.7k
- Forks
- 641
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi:
I've developed a Shiny app that uses Plotly. I've been reported several times a problem when exporting plotly plots that I am not able to solve and, even worse, I am not able to reproduce.
The app is at my github account (it's called memapp) and also at CRAN repositories, plots are ggplots coverted to plotly using ggplotly and rendered with renderPlotly.
This is the exporting window as usual, only available format is png, the image is correct:
But in some systems, when people try to export a plot, the window turns to this one, only svg vectorial file available.
The exported image is not readable, at least by some online software I've tried.
This is the pastebin of the svg file:
My app is hosted online on a server running linux, this error happens when they run the app locally or at my server, so I guess it is not a problem of my app and it is something dependent on the OS of the client. People reporting this problem uses Windows OS (10 for sure, 7 or 8 I am not sure 100%).
Any clues of what's happening? What does Plotly check when exporting to png or svg files that can make certain systems not to allow to export to png?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza reproduciendo el comportamiento de exportación en la aplicación Shiny memapp, centrándote en los gráficos convertidos con ggplotly y renderizados con renderPlotly. Compara el comportamiento de exportación de PNG y SVG en los sistemas Windows indicados usando las capturas de pantalla enlazadas y el pastebin de SVG; se considera completado cuando se haya identificado una causa reproducible o una limitación de exportación documentada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, r
- Área
- data-visualization, web-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100