saving charts as svg

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Berger

saving charts as svg

Post by Berger » Mon Aug 26, 2002 10:28 pm

Hello,
I know that I can save charts as jpg using ChartUtitlities.
But can someone provide an example for
export a chart as a svg file ?

Thx
berger

David Gilbert

Re: saving charts as svg

Post by David Gilbert » Tue Aug 27, 2002 4:36 am

There is a short chapter in the developers guide (available to purchase online, see the link on the JFreeChart page) that describes how to do this. Briefly, you need to download the Batik class library, and use the SVGGraphics2D implementation provided by Batik.

Regards,

DG.

Locked