addWatermark {clinDataReview}R Documentation

Add a watermark to a plotly object.

Description

Add a watermark to a plotly object.

Usage

addWatermark(pl, watermark = NULL)

Arguments

pl

plotly object.

watermark

(optional) String with path to a file containing a watermark.

Value

plotly object with a watermark (if specified)

See Also

Other watermark helpers: getWatermark()

Examples

watermark <- tempfile(pattern = "watermark", fileext = ".png")
getWatermark(file = watermark)
addWatermark(pl = plotly::plot_ly(), watermark = watermark)

[Package clinDataReview version 1.6.1 Index]