Hi Doug.

Doug Dwyer:
>               In the past two days or so, I just discovered
> JFreeChart for creating “Excel” type graphs in java. Today, I
> purchased the documentation for JFreeChart Developer’s Guide.
> I did this for several reasons; my main reason was to see the
> SVG example. But, I seem to be missing some important piece of
> information about SVG and JFreeChart. I followed the simple example
> and generated an XML file that would describe how to create a
> very simple chart. But the XML file seems to be a complete stand
> alone file. I need to output either XML to put in my XSL or just
> directly put it into my XSL. Then I took a look at this site
> http://xmlgraphics.apache.org/fop/dev/fo/embedding.fo.pdf for
> embedding the SVG into FOP. However, how would I dynamically utilize
> that in FOP? It would seem that I could save the XML of the SVG to
> a file and require my XSL to ask for the file from disk. However, I
> am not seeing what I gain by doing this because I could have easily
> just saved the chart as an jpg image file (<fo:external-graphic
> height="7.8in" src="chart.jpg"/>) never utilizing SVG and required my
> XSL to get the file from disk. I apologize for any ambiquity, I am
> just getting my feet wet in XSLT and FOP and JFreeChart and now SVG.

I think your question would be best asked on the fop-users list.  My
guess is that fo:external-graphic can only reference a URI, so you’d
either have to have the SVG saved to disk (it still having the advantage
over JPEG of being scalable in the resulting PDF), or to have some sort
of web service that generates the dynamic SVG and have the URI reference
it.

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to