plot does not take all available room in flexdashboard

I have a simple flexdashboard that loads plots from specific folder. Plots were previously rendered and saved to disk as PNG files in a nightly process.
Plots are saved in big sizes.

When loading plots (pictures, in fact) flexdashboard does not expand them to all available room.

img_path <- file.path("plots/picture1.png")

knitr::include_graphics(img_path)

How could be this forced to take all space for every picture?

FLEXDASH

In Rmarkdown, you can use the out.width and the out.height chunk options to set the size of your images.

You can also choose to save the image of the graph in a certain size then load the image in.

the image is saved to an enormous size. And I guess if theres a more dynamic way instead of setting every chunk. What if I have to do it for all dashboards (more than 100)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.