Hi all,
Is it possible to generate an image from a chart without first having to display the chart on screen? I am trying to do this in a Java Swing application.
Thanks in advance,
Simon
Generate Image Without Displaying Chart First
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Generate Image Without Displaying Chart First
Yes. The JFreeChart class has several createBufferedImage() methods, and you can also use the ChartUtilities.saveChartAsPNG() methods.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

