Creates R code that allows chart to be exported
makeChartExport(chart, mapping)
chart object like the one generated by makeChartConfig().
mapping object like the one generated by makeMapping().
returns a character vector that can be saved as R code.