r - How can the page size in shiny be adjusted to accommodate more number of plots? -
i have multiple tabs multiple graphs in of tabs. graphs implemented small in size, information in graph difficult analyze.
i guess shiny automatically resize graphs in order adjust page size. how fix this? using fluidpage.
thanks
you can set image size plotoutput()
or imageoutput()
functions in ui.r
file. has 2 arguments, height
, width
can set determine image size. can set size in terms of pixels or percentage, e.g. height = "50%", width = "100px"
edit in response comments had imageoutput
rather plotouput
, have corrected that. plot can sent ui using either renderimage
or rednerplot
renderplot
has height
, width
arguments. if there 3 different plots, consider making them 3 different plots , own renderplot
, plotoutput
. may give more flexibility. regardless height
, width
arguments increase size of plot.
Comments
Post a Comment