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