开发者

Google DataTable: Return a column object

开发者 https://www.devze.com 2023-02-04 05:44 出处:网络
I am using the google datatable object to create google visualizations. I would like to read a datatable and then create multiple subtables from that original object.

I am using the google datatable object to create google visualizations. I would like to read a datatable and then create multiple subtables from that original object.

According to the google documentation there is not a method to "getColumn."

http://code.google.com/ap开发者_高级运维is/visualization/documentation/reference.html#DataTable

I know there is a cols property but I am not sure exactly what this property is used for. Does anyone have any ideas about how to do this, and explain what the cols property is used for?


Sounds like making views from the original datatable is what you are looking for. Check out this link:

http://code.google.com/apis/visualization/documentation/reference.html#DataView

There its also a description of the cols property on that page.

0

精彩评论

暂无评论...
验证码 换一张
取 消