plotOutput(outputId, width = "100%", height = "400px", clickId = NULL,
hoverId = NULL, hoverDelay = 300, hoverDelayType = c("debounce",
"throttle"), inline = FALSE)
"100%"
, "400px"
, "auto"
) or a number, which will be
coerced to a string and have "px"
appended. These two arguments are
ignored when inline = TRUE<
NULL
, the plot will send coordinates to the
server whenever it is clicked. This information will be accessible on the
input
object using input$
clickId
. The value
will be a named list or vNULL
, the plot will send coordinates to the
server whenever the mouse pauses on the plot for more than the number of
milliseconds determined by hoverTimeout
. This information will be
accessible on the input
ob"throttle"
to limit the number of hover events to one
every hoverDelay
milliseconds. Use "debounce"
to suspend
events while the cursor is moving, andspan()
) or block container (div()
)
for the output# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot")
)
Run the code above in your browser using DataCamp Workspace