amclay / flotr

Automatically exported from code.google.com/p/flotr
1 stars 0 forks source link

Possibility to give a name when downloading the image of the graph #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi friends,
I am facing a small problem in saving the graph,
where i want to consider the name given by the user.
Can any one help me with that..

Thank you & regards,
prasad

Original issue reported on code.google.com by ganga...@gmail.com on 19 Jan 2011 at 2:07

GoogleCodeExporter commented 9 years ago
At first glance this doesn't appear to be possible :(

Original comment by peter....@solide-ict.nl on 2 Feb 2011 at 3:46

GoogleCodeExporter commented 9 years ago
hi peter,
could it be done??

Original comment by ganga...@gmail.com on 2 Feb 2011 at 4:21

GoogleCodeExporter commented 9 years ago
Check http://www.nihilogic.dk/labs/canvas2image/

Original comment by steff...@gmail.com on 2 Feb 2011 at 5:13

GoogleCodeExporter commented 9 years ago
This can not be done with Flotr for now, but I'm going to add a callback 
function that will take the data to be downloaded and the Flotr object itself. 
I'll give an example function that uses a server side script (also in the 
example) that will allow to add a file name, etc.

Original comment by fabien.menager on 2 Feb 2011 at 5:29

GoogleCodeExporter commented 9 years ago
And the script on nihilogic.dk is the one (with enhancements) that is used in 
Flotr.

Original comment by fabien.menager on 2 Feb 2011 at 5:33