开发者

Flotr & Server Side Processing

Is there any way to send object / image content type created by Flotr (http://code.google.com/p/flotr/) to server side scripting.

For comparison, with protovis () we can send SVG generated to server side servlet to have PNG / JPG result with Apache Batik.

Appreciate for any 开发者_开发技巧clue.

Regards,

Dino


As far as I can tell, Flotr generates a <canvas> HTML element image, which you can convert to base64 encoding with the canvas.toDataURL() method.

Then, it should not be painful to send it to web server with an AJAX HTTP POST call.

Cheers,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜