1 / 15

JFreeChart

JFreeChart. Sean C. Sullivan May 24, 2005 Portland Java Users Group. Agenda. JFreeChart library Demo: Swing application Demo: Struts application Demo: PDF. JFreeChart. http://www.jfree.org/jfreechart. Pie chart. Pie chart 3D. Bar chart. Line chart. Area chart. Gantt chart.

kalei
Télécharger la présentation

JFreeChart

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JFreeChart Sean C. Sullivan May 24, 2005 Portland Java Users Group

  2. Agenda • JFreeChart library • Demo: Swing application • Demo: Struts application • Demo: PDF

  3. JFreeChart http://www.jfree.org/jfreechart

  4. Pie chart

  5. Pie chart 3D

  6. Bar chart

  7. Line chart

  8. Area chart

  9. Gantt chart

  10. JFreeChart API • org.jfree.chart.JFreeChart • org.jfree.chart.ChartFactory • org.jfree.data.general.Dataset • org.jfree.chart.plot.Plot • org.jfree.chart.ChartUtilities

  11. Demo: Swing application

  12. Demo: Struts application <html> <head><title>JFreeChart</title></head> <body> <p>Struts and JFreeChart</p> <% final int width = 800; %> <% final int height = 800; %> <img src="generatechart.do?width=<%= width %>&height=<%= height%>" width="800" height="800" border="1" /> </body> </html>

  13. Demo: Struts application

  14. Demo: PDF

  15. Questions?

More Related