supporting $.chart.data as an array using arrayToDataTable

I found using the array form for the data to be easier in some cases.

Let me know if you'd like a different array type check than jQuery.