Controls which export buttons appear in the chart toolbar.
Usage
setExportOptions(
myIO,
png = TRUE,
svg = TRUE,
pdf = TRUE,
clipboard = TRUE,
csv = TRUE,
title = NULL
)Arguments
- myIO
A myIO widget object.
- png
Logical. Show PNG download button. Default TRUE.
- svg
Logical. Show SVG download button. Default TRUE.
Logical. Show PDF download button. Default TRUE.
- clipboard
Logical. Show clipboard copy button. Default TRUE.
- csv
Logical. Show CSV export button. Default TRUE.
- title
Character or NULL. Chart title for PDF metadata.
Examples
myIO(iris) |>
addIoLayer("point", label = "pts",
mapping = list(x_var = "Sepal.Length", y_var = "Sepal.Width")) |>
setExportOptions(svg = TRUE, clipboard = TRUE, pdf = FALSE)
