Slice an array out of a Google Charts DataTable object

I have a Google Charts DataTable object and I'd like to access one column as an array. I know that there is the getValue(rowIndex, columnIndex) function to access individual fields, but is there also a way to get the entire column?


A simple for-loop can do:

var my_slice = []
for (var i=0; i < data.getNumberOfRows(); i++){
    my_slice.push(data.getValue(i, 4));

data is my Google Chart DataTable object and 4 is the ID of the column that I want to access.

Need Your Help

[__NSArrayI length]: unrecognized selector sent to instance when moving through views

ios objective-c segue unrecognized-selector

I have encountered this error when i click on the label at the Master View that leads to the Detail view (which should show the labels as displayed in the data model at ReasonLibrary.

how to manage page view in a mobile app?

jquery html css mobile

I want to know some suggestions on how can I manage or design my page for mobile app so that it fits well in both the portrait and landscape orientations. And if some problm occurs, what all method...