View source: R/helper_functions.R
get_rendered_plot_width | R Documentation |
Get Width/Height of a rendered element
get_rendered_plot_width(output_id, session, return_inches = F, dpi = 70)
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" |
"Width/Height in pixels/inches"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.