I need to implement barchart reports in a java applicaion.
I'm considering using JFreeChart. The demo graphics look
good. I will also require the printout of any charts created.
I saw a blurb about printing. How will is it supported?
There is no print support in the demos that I can see.
dbritton@web-spun.net
Newbie question for Jfreechart.
Newbie Q - should have been "How do I print a chart&quo
Put the chart in a ChartPanel. The ChartPanel object has a popup menu that will allow printing.
Good Luck
David
Good Luck
David
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
That's the easiest way to print a chart. But since JFreeChart can draw to any Graphics2D, you can also take over the printing process in your own code, and output one or multiple charts to specific areas on a page, mix them with other output, etc. etc.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program