分享饼图
我的 PHP 网站生成(除其他外)一个使用 Google Chart API 构建的饼图。我想为用户提供一个选项,可以使用饼图发布图片。这些是我认为应该采取的步骤:
1. 拍摄我在其中显示饼图的 div 的快照
2. 将其上传至图片共享服务。
3. 通过 twitter API 发送该链接
如何实现步骤 (1)?
您是否会推荐一种不同的方法来实现我所追求的任务?
My PHP web-site generates (among other things) a pie-chart which is built with Google Chart API. I would like to give the user an option to tweet a picture with the pie chart. These are the steps I thought I should take:
1. Taking a snapshot of the div I'm displaying the pie chart in
2. U/L it to a picture sharing service.
3. twitting that link through twitter API
How can I achieve step (1)?
Would you maybe recommend a different method to implement the task I'm after?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与 FGC:
With FGC: