Description Usage Arguments Value Examples
Encode graphic for html base 64
1 | encodeGraphic(g, height = 480, aspectRatio = 4/3)
|
g |
is an image |
height |
is the height in px of the image |
aspectRatio |
is the aspect ratio of the image as a fraction |
An encode version of g
1 | encodeGraphic("my_test_plot.png", 480, 4/3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.