重绘谷歌图表
我有一个在可调整大小的元素内使用 google 可视化 API 呈现的表格图表。我需要在调整父元素大小后重新绘制表格。调整父元素的大小后,我可以单击列标题来重新排列表格,它还会重新绘制表格以适应新的大小,但我如何以编程方式执行此操作?
I have a table chart rendered with the the google visualization API inside a resizable element. I need to redraw the table after the parent element is resized. After I resize the parent element, I can click a column header to resort the table and it will also redraw the table to fit the new size, but how can i do this programatically?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您始终可以在图表对象上再次调用 draw() 函数。
You can always call again the draw() function on your chart object.