Render a shiny::renderPlot() within an application page, with support for
overlays.
Arguments
- outputId
The
outputslot 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(
overlayPlotOutput("my_plot", 640, 480)
# further UI elements here . . .
)