从现有的Google可视化图表中获取DataTable
我画了一张谷歌可视化表格。如何获取用于绘制图表的DataTable?例如,如何获取前5行第1列的值。
I have drawn a Google visualization table chart. How can I get the DataTable that is used to draw the chart? For example, how to get the value of first 5 rows and column 1.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 ChartWrapper,您可以获得 DataTable像这样:
如果您想从 DataTable 中获取值,可以使用 DataTable 的 getValue(rowIndex, columnIndex) 方法:
If you are using the ChartWrapper you can get the DataTable like this:
If you want to get a value from the DataTable, you can use the
getValue(rowIndex, columnIndex)
method of a DataTable: