Skip to contents

Plot Server

Usage

render_plot(id, x, width = "auto", height = NULL, ratio = 1)

Arguments

id

An ID string that corresponds with the ID used to call the module's UI function.

x

A reactive recorded plot to be saved (see grDevices::recordPlot()).

width, height

Height and width specification (see shiny::renderPlot()).

ratio

A length-one numeric vector giving the \(x/y\) ratio. Only used if height is NULL.

See also

Other widgets: output_plot()