We don't bite newbies here... much | |
PerlMonks |
Converting Open Flash Charts to an Image.by tmharish (Friar) |
on Apr 04, 2010 at 05:52 UTC ( [id://832680]=perlquestion: print w/replies, xml ) | Need Help?? |
tmharish has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I have been trying to find a way to convert an flash chart created using Open Flash Chats into an image.
MotivationA 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). What I have tried so far: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?
Back to
Seekers of Perl Wisdom
|
|