Google DataTable:返回列对象
我正在使用谷歌数据表对象来创建谷歌可视化。我想读取一个数据表,然后从该原始对象创建多个子表。
根据谷歌文档,没有“getColumn”的方法。
http://code.google.com/apis/visualization/documentation/reference .html#DataTable
我知道有一个 cols 属性,但我不确定这个属性到底是用来做什么的。有谁知道如何执行此操作,并解释 cols 属性的用途吗?
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/apis/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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来好像您正在寻找从原始数据表创建视图。查看此链接:
http://code.google.com/apis/ Visualization/documentation/reference.html#DataView
还有该页面上 cols 属性的描述。
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.