powered by
Sets default values and binds needed functions to a chart object based on chart type.
prepareChart(chart)
chart object like the one generated by makeChartConfig().
returns the chart object with a new functions object added.