将FLOT数据作为图像写入PDF [英] FLOT data as image to write to PDF

查看:51
本文介绍了将FLOT数据作为图像写入PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jQuery/FLOT绘制图形,我希望用户能够下载图形的PDF版本.我正在使用ColdFusion编写PDF.创建图后,我通过ajax将图div的html发送到使用cfdocument编写pdf的CF脚本.问题在于,在PDF中,它仅显示轴和标签,而不显示实际的图形数据.有人知道获取在画布上动态创建的实际图像的方法吗?

I am using jQuery/FLOT to draw a graph, I would like for the user to be able to download a PDF version of the graph. I am writing the PDF using ColdFusion. After creating the graph I then send the html of the graph div, via ajax to a CF script that uses cfdocument to write the pdf. The problem is that in the PDF, it only displays the axis and labels, not the actual graph data. Does anybody know of a way to get the actual image that is dynamically created on the canvas?

推荐答案

我认为这还没有实现,但请参见

I don't think this has been implemented in flot yet see http://code.google.com/p/flot/issues/detail?id=175

这篇关于将FLOT数据作为图像写入PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆