JFreeChart provides pretty good library to draw graphs in Java. As the documentation is paid you would have to struggle a lot to find the solution as per your requirements albeit simple examples are easily accessible. My requirement was also bit different than simple ones so made some efforts to achieve this. Following is an example of line chart with series. So i have names it "JFreeSeriesLineChart.java". I had tried my best to cover everything related to line chart in this example, using proper documentation. JFreeSeriesLineChart.java //Code Starts here /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package jfreecharts; /** * * @author sshankar */ import java.awt.BasicStroke; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JPanel; import javax.swing.JLabel; import java.awt.Stroke; import org.jfree.chart.ChartFactory; import org.jfree.chart.Chart...