int numSeries = dataSet.getDataSeriesCount();
Object[] valueCellRange = getValueCellRange();
Object[] labelCellRange = getLabelCellRange();
for (int i = 0; i < numSeries; i++) {
ChartSeriesElement series = plotArea.newChartSeriesElement();
series.setChartClassAttribute(chartElement.getChartClassAttribute());
series.setProperty(StyleGraphicPropertiesElement.Stroke, "solid");
series.setProperty(StyleGraphicPropertiesElement.FillColor, getRandColorCode());
series.setProperty(StyleGraphicPropertiesElement.EdgeRounding, "0%");
series.setProperty(StyleTextPropertiesElement.FontSize, "6pt");
series.setProperty(StyleTextPropertiesElement.FontSizeAsian, "6pt");
series.setProperty(StyleTextPropertiesElement.FontCharsetComplex, "6pt");
if ((String) valueCellRange[i] != null) {
series.setChartValuesCellRangeAddressAttribute((String) valueCellRange[i]);
}
if ((String) labelCellRange[i] != null) {
series.setChartLabelCellAddressAttribute((String) labelCellRange[i]);
}
ChartDataPointElement point = series.newChartDataPointElement();
point.setChartRepeatedAttribute(new Integer(numSeries));
}
ChartWallElement wall = plotArea.newChartWallElement();
wall.setProperty(StyleGraphicPropertiesElement.Stroke, "none");