UI for plot with download data button
downloadablePlotUI(
id,
title = "Download plot data",
width = "100%",
height = "400px",
zoom = FALSE
)
an HTML tag object corresponding to the UI for downloadablePlot
.
id string that gets namespaced by shiny::NS
.
Text to display on hover of download button.
Image width/height. Must be a valid CSS unit (like
"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
, in which case the width/height of a plot
must be specified in renderPlot()
. Note that, for height, using
"auto"
or "100%"
generally will not work as expected,
because of how height is computed with HTML/CSS.
if TRUE
brush then double-click to zoom.
NS
, downloadablePlot
, plotOutput