'had to change a line in the files for the other chart types.
the pie and polar have less data options so they hae different arrays'