Download png button not working in shiny app
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- R
- Star
- 2.7k
- Fork
- 641
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hành vi xuất trong ứng dụng Shiny memapp, tập trung vào các biểu đồ được chuyển đổi bằng ggplotly và render bằng renderPlotly. So sánh hành vi xuất PNG và SVG trên các hệ thống Windows được báo cáo bằng cách sử dụng các ảnh chụp màn hình được liên kết và pastebin SVG; được xem là hoàn thành khi xác định được nguyên nhân có thể tái hiện hoặc một giới hạn xuất đã được ghi nhận.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, r
- Lĩnh vực
- data-visualization, web-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100