Description Usage Arguments Value Examples
View source: R/addCompanyLogo.R
addCompanyLogo
adds company logo to given graph
1 2 | addCompanyLogo(file.name, file.width, file.height,
watermark.path, x.coordinate, y.coordinate, width, plot.unit)
|
file.name |
name of the file |
file.width |
name of the graph PNG file |
file.height |
directory to which the graph should be saved to |
watermark.path |
directory to the watermark logo |
x.coordinate |
x coordinates of the position of watermark |
y.coordinate |
y coordinates of the position of watermark |
width |
width of the watermark |
plot.unit |
unit used in function |
png with added watermark
1 2 3 | test = system.file("extdata", "test.png", package = "ShinyApp")
logo = system.file("extdata", "logo.png", package = "ShinyApp")
addCompanyLogo(test, 1200, 800, logo, 0.84, 0.17, 0.02, 'npc')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.