shinylight.setElementPlot: JavaScript function: Sets an '<img>' element to display a...

shinylight.setElementPlotR Documentation

JavaScript function: Sets an <img> element to display a plot returned by runR.

Description

Normally you do not need to call this because to get shinylight to produce a plot you need to set the plotElement argument, and doing so will cause this element to receive the plot automatically.

Arguments

elementOrId

string, HTMLImageElement The <img> element (or its id) that will receive the image.

result

object The result from runR.


shinylight documentation built on May 29, 2024, 12:04 p.m.