saveREcharts: Save recharts into a png/jpg file

Description Usage Arguments

View source: R/saveREcharts.R

Description

This function creates an HTML widget to display matrix, data.frame and factor array, using the JavaScript library ECharts3.

Usage

1
saveREcharts(chart, file, size = NULL, delay = 2)

Arguments

chart

a recharts object

file

file name for saving

size

htmlwidgets size for recharts

delay

Time to wait before taking screenshot, in seconds. Sometimes a longer delay is needed for all assets to display properly.


cosname/recharts documentation built on Aug. 29, 2020, 9:47 a.m.