RowsToObjects serializes rows into an array of objects. Each object represents a data row and the objects have a property for each column. var data = [ {"Year" : "2010", "TotalSales" : 12540}, {"Year" : "2011", "TotalSales" : 21450} ]
ColumnsToPropertyArrays serializes the data into a single object. Each column is a property with all the row values contained in an array. var data = { "Year" : ["2010", "2011"], "TotalSales" : [12540, 21450] }
RowsToValueArrays serializes the data into a single array with a child array for each row in the data. Each value in the array represents a column in the data. var data = [ ["2010", 12540], [‘2011’, 21450] ]
|