
Last chance! 50% off unlimited learning
Sale ends in
brush
argument of imageOutput
or
plotOutput
.brushOpts(id = NULL, fill = "#9cf", stroke = "#036", opacity = 0.25,
delay = 300, delayType = c("debounce", "throttle"), clip = TRUE,
direction = c("xy", "x", "y"), resetOnNew = FALSE)
"plot_brush"
,
then the coordinates will be available as input$plot_brush
."throttle"
to limit the number of brush events to one
every delay
milliseconds. Use "debounce"
to suspend events
while the cursor is moving, and wait"xy"
, the brush can be
drawn and moved in both x and y directions. If "x"
, or "y"
,
the brush wil work horizontally or vertically.renderImage
), should the brush be reset? The default,
FALSE
, is useful if you want to update the plot while keeping the
brush. Using TRUE<