Interactive ZoomGraph in R Shiny - r

Is it possible to create interactive Shiny graph that when you click zoom button on a Shiny Page, the graph will expand to the entire size of the browser window? Right now I have four ggplots on one shiny page and would like to expand one to full screen size when I click zoom. I think it could be using either shinyjs or conditional panels, but can't seem to figure it out. This has similar logic:https://gallery.shinyapps.io/105-plot-interaction-zoom/, instead of zooming in the graphic, would just like to zoom the entire graphic to the browser.
Thanks!

My solution was much easier actually and I ended up using Shiny BS that has a built in modal function.

Related

How to zoom out on a r plot

I created a neural network and when I made the plot, it is super zoomed in and I cannot see the side or the bottom. A shown in the photo. How can I zoom out so I can see the whole thing? I have tried using the zoom package and my mouse, I cannot seem to figure it out.

Can you flip a Shiny Gauge vertically?

I’d like to put two Shiny gauges on top of one another but then have the bottom gauge plot be flipped so that the two plots make a circle - I’ve tried Googling, but to no avail... wondering if someone has done this before and if it’s possible - I’m open to other packages, but I just really like the look of the Shiny Gauges :)

Flexdashboard - Scroll multiple graphs written under a single R chunk

I'm trying to create a flexdashboard with several tabs. One of them needs to include multiple graphs (~50). I produce the graphs under one single chunk within a loop (because numbers of graphs varies each time). What I get in the output is showing only some graphs without being able to scroll to see the rest of them. Scroll is totally deactivated but graphs are printed.
So far I've tried and didn't work to:
change the vertical_layout = scroll
adjust the row-height but graphs got shrunk (not readable)
download latest version of flexdashboard
include some CSS style (overflow-x: scrollbar;)
run the same in simple rmakrdown and works fine
when you put each graph in different chunk, scroll works properly but it doesn't solve my problem
Any ideas?
Thank you

Blank regions on electron(node.js) window

I've used Electron 1.6.11 with Node 8.4 to develop a desktop application.
this is how my main window normally looks like:
but sometimes some parts of window will overlays with blank regions for no apparent reason. like this:
This blank regions will go away if i click one of buttons or resize the form, or anything that make it render again(i guss).
Also, this blank regions only appears on that left side of form.
Im using CSS grid to arrange my components, could it be because of that?
Any suggestion is appreciated

Dynamic resizing of ggvis plots in shiny apps

When adding a ggvis plot to a shiny app, the width and height of the plot are fixed and don't automatically adjust to the size of the div the ggvis object is placed in. This obviously causes some problems when app users have different screen sizes for instance, or adjust the size of the app window.
It's possible to modify the size of the ggvis object on the server side using set_options, but this doesn't really help since I don't think there is a way to pass the size of the div to the server side.
I've tried modifying the css of the different classes associated with the ggvis object on the ui side (e.g. ggvis-output, ggvis-output-container, etc.) but this doesn't help either. The ggvisOutput function seems to override the css length and width no matter what.
Has anybody found a solution/workaround to dynamically resize a ggvis plot as function of the size of the surrounding div?
Thanks for your help.
This is now possible in the development version of ggvis. See https://github.com/rstudio/ggvis/pull/381

Resources