src/org/tiefaces/components/websheet/chart/ChartHelper.java
private DefaultPieDataset createPieDataset(final ChartData chartData) {
		DefaultPieDataset dataset = new DefaultPieDataset();
		List<ParsedCell> categoryList = chartData.getCategoryList();
		for (ChartSeries chartSeries : chartData.getSeriesList()) {
			List<ParsedCell> valueList = chartSeries.getValueList();
			for (int i = 0; i < categoryList.size(); i++) {
				try {
					String sCategory = getParsedCellValue(
							categoryList.get(i));
					String sValue = getParsedCellValue(valueList.get(i));
					dataset.setValue(sCategory, Double.parseDouble(sValue));
				} catch (Exception ex) {
					LOG.log(Level.FINE, "error in creatPieDataset : "
							+ ex.getLocalizedMessage(), ex);
				}
			}
		}
		return dataset;

	}
private DefaultPieDataset createPieDataset(final ChartData chartData) {
		DefaultPieDataset dataset = new DefaultPieDataset();
		List<ParsedCell> categoryList = chartData.getCategoryList();
		for (ChartSeries chartSeries : chartData.getSeriesList()) {
			List<ParsedCell> valueList = chartSeries.getValueList();
			for (int i = 0; i < categoryList.size(); i++) {
				try {
					String sCategory = getParsedCellValue(
							categoryList.get(i));
					String sValue = getParsedCellValue(valueList.get(i));
					dataset.setValue(sCategory, Double.parseDouble(sValue));
				} catch (Exception ex) {
					LOG.log(Level.FINE, "error in creatPieDataset : "
							+ ex.getLocalizedMessage(), ex);
				}
			}
		}
		return dataset;

	}
private DefaultPieDataset createPieDataset ( final ChartData chartData ) { DefaultPieDataset dataset = new DefaultPieDataset ( ) ; List < ParsedCell > categoryList = chartData . getCategoryList ( ) ; for ( ChartSeries chartSeries : chartData . getSeriesList ( ) ) { List < ParsedCell > valueList = chartSeries . getValueList ( ) ; for ( int i = 0 ; i < categoryList . size ( ) ; i ++ ) { try { String sCategory = getParsedCellValue ( categoryList . get ( i ) ) ; String sValue = getParsedCellValue ( valueList . get ( i ) ) ; dataset . setValue ( sCategory , Double . parseDouble ( sValue ) ) ; } catch ( Exception ex ) { LOG . log ( Level . FINE , "error in creatPieDataset : " + ex . getLocalizedMessage ( ) , ex ) ; } } } return dataset ; }
create default category dataset for JfreeChart with giving chartData.

@param chartData
contain information gathered from excel chart object.
@return DefaultCategoryDataset for jfreechart.
create default category dataset for JfreeChart with giving chartData .