BERT.graphics.device
creates a graphics device that renders to
a named Shape in an Excel workbook.
1 2 3 | BERT.graphics.device(name = "BERT-default", bgcolor = "white",
width = 400, height = 400, pointsize = 14,
scale = Sys.getenv("BERTGraphicsScale"), cell = F)
|
If this is called from an Excel spreadsheet cell, set cell=TRUE
and it will use a name that's generated from the cell address, which
should be unique in the workbook. (That won't survive sheet renaming,
but in that case just toss the old one and a new one will be generated
on the next paint).
Size, background and pointsize arguments are ignored if the target named shape already exists. The values for these arguments are scaled based on reported screen DPI to give reasonable values on normal and high-DPI displays (to prevent this behavior, set the scale parameter to 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.