How to switch between pages while using facet_multiple( or facet_grid_paginate) function in R Shiny?

387 Views Asked by At

I am using facet_grid_paginate function of "ggforce" package to plot facets ( around 80 ). ggplot(Data, aes(x=Date,y=Avg_unit_price), size = 3) + geom_smooth() + facet_grid_paginate( ~Item, ncol = 3, nrow = 2)

Plots are distributed on multiple pages but in the app, I can only see the last page and am unable to navigate between pages in R shiny app.

enter image description here

Apart from the above query, when I was trying to plot all the facets on a single page then the dimension of individual plot was extremely small. Is there any way we can control the dimension of each plot using facet function of ggplot package.

0

There are 0 best solutions below