This function need the base64enc
package to save image.
rAmChartsExportServerUI(id)rAmChartsExportServer(
input,
output,
session,
list_am_graph,
path = shiny::reactive(tempdir()),
mode = "single",
progress = T,
message = "Calculation in progress",
detail = "This may take a while..."
)
a reactive expression
character, used to specify namesapce, see shiny::NS
standard, shiny
input
standard, shiny
output
standard, shiny
session
named list, reactive expression with all amCharts to export
"graph"rAmCharts object to export
"name"character, name of file, with ".jpg" extension
"width"Optionnal, character. Linked to amChartsOutput
"height"Optionnal, character. Linked to amChartsOutput
"type"Optionnal, character. Linked to amChartsOutput
character, directory. tempdir() by Defaut
character, 'single' : graphics are rendered and saved one by one. 'multiple' all at same time
boolean, set a progress bar or not ?
character, if progress, message. Defaut to "Calculation in progress"
character, if progress, detail. Defaut to "This may take a while...'