powered by
Render a shiny::renderPlot() within an application page, with support for overlays.
shiny::renderPlot()
overlayPlotOutput(outputId, width, height)
A plot output element that can be added to a UI definition.
The output slot where the plot will be rendered using shiny::renderPlot(), with a call to overlayBounds().
output
overlayBounds()
Image width and height. Must be a valid CSS unit, like "100%", "400px", or "auto", or a number, interpreted as pixels.
"100%"
"400px"
"auto"
overlayServer(), for a complete example.
overlayServer()
ui <- shiny::fluidPage( useOverlay(), overlayPlotOutput("my_plot", 640, 480) # further UI elements here . . . )
Run the code above in your browser using DataLab