resolution « Image « JFreeChart Q&A





1. Setting the resolution of the image    jfree.org

Hello! I've got a problem with the image resolution when exporting the image in a PDF format. I use gnujpdf for exporting to PDF, but there I can only export in 72 dpi, and so the images from JFreeChart look horrible on the page. Can I somehow let JFreeChart already produce images in a given resolution, so it can calculate an ...

2. image resolution problem when printing a chart    jfree.org

I am printing several charts on one page. Code: Select all public int print(Graphics graphics, PageFormat pf, int page) throws PrinterException{ if (page>0) return NO_SUCH_PAGE; Graphics2D g = (Graphics2D)graphics; g.translate(pf.getImageableX(), pf.getImageableY()); ...

3. Optimal chart image resolution    jfree.org

... and of course, if depends on where you need the image. .. Using raster-images for printing is not a good idea, you might want to feed the JFreeChart object's draw(..) method with your printer's Graphics2D object directly. If you want to display charts in the browsers, most of them nowadays use 96dpi as image resolution. So to match up with ...

4. image resolution problem    jfree.org