Relative Content

Tag Archive for rshinyzoomingscaling

Prevent rescaling graphs on different screen sizes when zooming in R shiny

When we create a shiny app, users will use the app on different screen sizes (laptops, monitors). This means there are different heights and widths per user which may transform the graphs which have been developed on one screen size. I would like to have a way that every user gets the same size so that when zooming it shouldn’t return overlapping labels and weirdly scaled graphs. Here I create a really simple reproducible example: