How to save a jQuery FLOT Graph to a .png or other image format?

后端 未结 3 676
悲哀的现实
悲哀的现实 2020-12-08 11:06

I\'m using a plugin for Jquery called FLOT http://code.google.com/p/flot/

Once the graph is rendered I want the client to be able to save the graph to a file for lat

3条回答
  •  醉话见心
    2020-12-08 11:31

    The basic way to do it is using canvas.toDataURL("image/png"); but I also found this link for you

    http://nihilogic.dk/labs/canvas2image/

    I've not tested it.

提交回复
热议问题