get_rendered_plot_width: Get Width/Height of a rendered element

View source: R/helper_functions.R

get_rendered_plot_widthR Documentation

Get Width/Height of a rendered element

Description

Get Width/Height of a rendered element

Usage

get_rendered_plot_width(output_id, session, return_inches = F, dpi = 70)

Arguments

output_id

"ID of the plot/element who's width/height you want to know"

session

"Current Session. Used to get namespacing and clientData information"

return_inches

"Should we return width/height in pixels or inches"

dpi

"dpi used to convert pixels to inches"

Value

"Width/Height in pixels/inches"


CCICB/CRUX documentation built on Jan. 28, 2024, 10:12 p.m.