Creates R code that allows chart to be exported

makeChartExport(chart, mapping)

Arguments

chart

chart object like the one generated by makeChartConfig().

mapping

mapping object like the one generated by makeMapping().

Value

returns a character vector that can be saved as R code.