Hi I have been trying to find a way to convert an flash chart created using Open Flash Chats into an image.

Motivation

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).

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?


In reply to Converting Open Flash Charts to an Image. by tmharish

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.