downloadablePlotUI: UI for plot with download data button

View source: R/downloadablePlot.R

downloadablePlotUIR Documentation

UI for plot with download data button

Description

UI for plot with download data button

Usage

downloadablePlotUI(
  id,
  title = "Download plot data",
  width = "100%",
  height = "400px",
  zoom = FALSE
)

Arguments

id

id string that gets namespaced by shiny::NS.

title

Text to display on hover of download button.

width, height

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.

zoom

if TRUE brush then double-click to zoom.

Value

an HTML tag object corresponding to the UI for downloadablePlot.

See Also

NS, downloadablePlot, plotOutput


shinydlplot documentation built on Nov. 19, 2022, 1:06 a.m.