src/org/tiefaces/components/websheet/chart/ChartHelper.java
public JFreeChart createAreaChart(final ChartData chartData) {
		PlotOrientation orientation = PlotOrientation.VERTICAL;
		// create the chart...
		final JFreeChart chart = ChartFactory.createAreaChart(
				chartData.getTitle(), // chart title
				chartData.getCatAx().getTitle(), // x axis label
				chartData.getValAx().getTitle(), // y axis label
				createDataset(chartData), // data
				orientation, true, // include legend
				false, // tooltips
				false // urls
		);

		setupStyle(chart, chartData);

		return chart;

	}
public JFreeChart createAreaChart(final ChartData chartData) {
		PlotOrientation orientation = PlotOrientation.VERTICAL;
		// create the chart...
		final JFreeChart chart = ChartFactory.createAreaChart(
				chartData.getTitle(), // chart title
				chartData.getCatAx().getTitle(), // x axis label
				chartData.getValAx().getTitle(), // y axis label
				createDataset(chartData), // data
				orientation, true, // include legend
				false, // tooltips
				false // urls
		);

		setupStyle(chart, chartData);

		return chart;

	}
public JFreeChart createAreaChart ( final ChartData chartData ) { PlotOrientation orientation = PlotOrientation . VERTICAL ; // create the chart...
 final JFreeChart chart = ChartFactory . createAreaChart ( chartData . getTitle ( ) , // chart title
 chartData . getCatAx ( ) . getTitle ( ) , // x axis label
 chartData . getValAx ( ) . getTitle ( ) , // y axis label
 createDataset ( chartData ) , // data
 orientation , true , // include legend
 false , // tooltips
 false // urls
 ) ; setupStyle ( chart , chartData ) ; return chart ; }
Create jfree bar chart.

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