Hello
Is there anyway I can draw a jfreechart on a non-swing component. By possibly using the Graphics2D object?
Thak you
drawing chart on non swing components
Re: drawing chart on non swing components
JFreeChart is designed to use only the methods in Graphics2D. The ChartPanel class (formerly JFreeChartPanel) is provided only as a convenience for displaying charts in a Swing user interface...you are not required to use it.
One example using Graphics2D is documented in jfreechart2pdf-v2.pdf, a file you can download from the JFreeChart project page:
http://sourceforge.net/projects/jfreechart
This document describes how to generate charts in PDF format using JFreeChart and iText (a free class library for generating PDF files).
Regards,
DG.
One example using Graphics2D is documented in jfreechart2pdf-v2.pdf, a file you can download from the JFreeChart project page:
http://sourceforge.net/projects/jfreechart
This document describes how to generate charts in PDF format using JFreeChart and iText (a free class library for generating PDF files).
Regards,
DG.