mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-29 16:58:11 -05:00
27 lines
508 B
R
27 lines
508 B
R
\name{plotOutput}
|
|
\alias{plotOutput}
|
|
\title{Create a plot output element}
|
|
\usage{
|
|
plotOutput(outputId, width = "100\%", height = "400px")
|
|
}
|
|
\arguments{
|
|
\item{outputId}{output variable to read the plot from}
|
|
|
|
\item{width}{Plot width}
|
|
|
|
\item{height}{Plot height}
|
|
}
|
|
\value{
|
|
A plot output element that can be included in a panel
|
|
}
|
|
\description{
|
|
Render a \link{reactivePlot} within an application page.
|
|
}
|
|
\examples{
|
|
# Show a plot of the generated distribution
|
|
mainPanel(
|
|
plotOutput("distPlot")
|
|
)
|
|
}
|
|
|