This function add a `svg` key containing a `svg` version of the chart in the chart container. It uses the width and height of RStudio Viewer panel. There are no API to grab this information, so we use `grDevices::dev.size` which should be in sync with the Viewer panel. We use 0.9 to add a 10 See: https://stackoverflow.com/a/41401158/2008527

add_svgs_to_table(chart_container, width = NULL, height = NULL)

Arguments

chart_container

A chart_container

Value

A chart_container with svg key added