else if (chartType == ReportChart.PIE_CHART
|| chartType == ReportChart.RING_CHART)
{
while (rs.next())
{
PieChartValue pieValue = new PieChartValue();
pieValue.setValue(rs.getDouble(1));
pieValue.setKey(rs.getString(2));
list.add(pieValue);
}
}
else if (chartType == ReportChart.XY_CHART || chartType == ReportChart.XY_AREA_CHART