public JFreeChart createPieChart(final ChartData chartData) {

		// create the chart...
		final JFreeChart chart = ChartFactory.createPieChart(
				getPieTitle(chartData), // chart title
				createPieDataset(chartData), // data
				true, // include legend
				false, // tooltips
				false // urls
		);

		setupPieStyle(chart, chartData);

		return chart;

	}
public JFreeChart createPieChart ( final ChartData chartData ) { final JFreeChart chart = ChartFactory . createPieChart ( getPieTitle ( chartData ) , createPieDataset ( chartData ) , true , false , false ) ; setupPieStyle ( chart , chartData ) ; return chart ; }
Create jfree bar chart.

@param chartData
contain information gathered from excel chart object.
@return jfree line chart.