View source: R/downloadablePlotly.R
downloadablePlotly | R Documentation |
Server-side logic for plotly with download data button in modebar
downloadablePlotly( input, output, session, plot, filename, content, title = "Download plot data" )
input, output, session |
standard |
plot |
Object of class |
filename |
A string of the filename, including extension, that the user's web browser should default to when downloading the file; or a function that returns such a string. (Reactive values and functions may be used from this function.) |
content |
A function that takes a single argument |
title |
Text for plotly tooltip. |
No return value, called to generate server logic.
downloadablePlotlyUI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.