mcguinlu / robvis

A package to quickly visualise risk-of-bias assessment results
https://mcguinlu.github.io/robvis/
Other
58 stars 22 forks source link

Improve auto-sizing of downloaded figure in app #45

Closed mcguinlu closed 4 years ago

mcguinlu commented 5 years ago

At the moment, if the number of studies in the uploaded sheet is small <5, then the traffic light figure is incorrectly sized.

Need to update both the code used to define the size of the image when displayed: nrows <- ifelse(nrows * (70/(20/input$psize)) + 100 < 750, 750, nrows * (70/(20/input$psize)))

and the code used to define the size of the image when downloaded. nrows <- ifelse(nrows * 1/(20/input$psize) < 9, 9, nrows * 1/(20/input$psize))

mcguinlu commented 4 years ago

This is now being addressed in #83