hafen / trelliscopejs

TrelliscopeJS R Package
https://hafen.github.io/trelliscopejs
Other
263 stars 38 forks source link

For raster outputs, make two (or more) different resolution versions? #9

Open hafen opened 7 years ago

hafen commented 7 years ago

When generating raster outputs like ggplot2, you are stuck with font sizes, glyph sizes, etc. regardless of how the plots are shown in the viewer. This can make the experience a bit subpar when having a 1x1 grid layout vs. something like 5x5 or 10x10 - the larger the grid, the smaller the panels and less readable the fonts. We should consider whether to provide the option of generating the plots at two or more different resolutions / sizes and then update the viewer to adaptively decide which version it wants based on the grid.

Once we support generating panels on-the-fly, we can accommodate this much more easily because at render time we can ask for whatever resolution we would like.