tmharish has asked for the wisdom of the Perl Monks concerning the following question:
A web application that I am working on uses Open Charts to display several graphs and I want to provide the user with the option to download a PDF containing the displayed data. My current approach is to convert the flash object into an image before then creating a pdf using LaTeX (The look of the pdf is fairly important).
I have tried several methods to download the flash file. Unfortunately the file that I end up with is always the file that Open Charts provides. I understand that the Open Charts swf file takes certain arguments and creates the necessary chart but I don't know how to make this happen (out side of the browser that is).
Here is the Perl Flash Charts library.
Here is a discussion on creating an image. Unfortunately this and this only provide Jana script based solutions. To achieve what I require I need a solution that can be run purely on the server.
I tried to do this by finding a way to execute JS through Perl. I have so far tried Java.pm and Java::Import. Although I am able to get some basic examples to run I am totally at a loss when it comes to running jquery and Open Charts through these modules.
Could someone please help out?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting Open Flash Charts to an Image.
by moritz (Cardinal) on Apr 04, 2010 at 07:03 UTC | |
by tmharish (Friar) on Apr 04, 2010 at 08:03 UTC | |
|
Re: Converting Open Flash Charts to an Image.
by Anonymous Monk on Apr 04, 2010 at 06:59 UTC | |
by tmharish (Friar) on Apr 04, 2010 at 10:21 UTC | |
by Anonymous Monk on Apr 04, 2010 at 10:28 UTC | |
by tmharish (Friar) on Apr 04, 2010 at 08:13 UTC | |
|
Re: Converting Open Flash Charts to an Image.
by hossman (Prior) on Apr 05, 2010 at 02:20 UTC | |
by tmharish (Friar) on Apr 07, 2010 at 07:25 UTC | |
by Anonymous Monk on Sep 28, 2010 at 14:43 UTC | |
by Anonymous Monk on May 15, 2011 at 22:19 UTC |