Search found 4 matches
- Wed Jun 07, 2006 12:25 pm
- Forum: JFreeChart
- Topic: export chart as PDF,SVG or EPS
- Replies: 14
- Views: 42517
Some code snippets for the various export formats: SVG export using Batik: public void export(File name, JFreeChart chart, int x, int y) { // Get a DOMImplementation DOMImplementation domImpl = SVGDOMImplementation.getDOMImplementation(); Document document = domImpl.createDocument(null, "svg", null)...
- Tue Jun 06, 2006 4:20 pm
- Forum: JFreeChart
- Topic: export chart as PDF,SVG or EPS
- Replies: 14
- Views: 42517
On second thought, Jibble is a commercial package.
But I found a free package with all kind of graphic export stuff: VectorGraphics http://java.freehep.org/vectorgraphics/index.html
But I found a free package with all kind of graphic export stuff: VectorGraphics http://java.freehep.org/vectorgraphics/index.html
- Tue Jun 06, 2006 3:10 pm
- Forum: JFreeChart
- Topic: export chart as PDF,SVG or EPS
- Replies: 14
- Views: 42517
Thanks a lot. I tried the pdf code and it works like a charm. Now I'm going to test the ImageIO to export jpeg, png and tiff. For the SVG export I'm using Batik http://xmlgraphics.apache.org/#batik . Now only the EPS export will give me some headaches but I think Jibble ( http://www.jibble.org/epsgr...
- Tue Jun 06, 2006 12:46 pm
- Forum: JFreeChart
- Topic: export chart as PDF,SVG or EPS
- Replies: 14
- Views: 42517
export chart as PDF,SVG or EPS
I have a small problem with the export features of JFreeChart. The frontpage states that JFreeChart can export charts to PNG, JPEG, PDF, SVG and EPS format. support for many output types, including Swing components, image files (including PNG and JPEG), and vector graphics file formats (including PD...