Render a shiny::renderPlot()
within an application page, with support for
overlays.
Arguments
- outputId
The
output
slot where the plot will be rendered usingshiny::renderPlot()
, with a call tooverlayBounds()
.- width, height
Image width and height. Must be a valid CSS unit, like
"100%"
,"400px"
, or"auto"
, or a number, interpreted as pixels.
See also
overlayServer()
, for a complete example.
Examples
ui <- shiny::fluidPage(
useOverlay(),
overlayPlotOutput("my_plot", 640, 480)
# further UI elements here . . .
)