http://stackoverflow.com/questions/3587025/jfree-charts-sample-tutorial
http://www.screaming-penguin.com/node/4005
http://www.vogella.de/articles/JFreeChart/article.html
http://adityanivas3.blogspot.com/2008/09/jfree-chart-tutorial.html
http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-opensourceprofile.html
There's even some examples right in the code, such as the one described here:
http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/demo/TimeSeriesChartDemo1.html
// HOW TO CREATE CHART AND SAVE AS PNG
final XYDataset dataset = createDataset();
final JFreeChart chart = createChart(dataset);
try {
File f1 = new File("myline.png");
ChartUtilities.saveChartAsPNG(f1, chart, 500, 400);
} catch (Exception e) {
e.printStackTrace();
}
Comments
Post a Comment