Download png button not working in shiny app
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず memapp Shiny application でのエクスポート動作を再現します。ggplotly で変換され、renderPlotly でレンダリングされるプロットに重点を置いてください。リンク先のスクリーンショットと SVG pastebin を使用して、報告された Windows システム上で PNG と SVG のエクスポート動作を比較します。再現可能な原因または文書化されたエクスポート制限を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, r
- 領域
- data-visualization, web-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100