}
XYSeriesCollection xyDataset = new XYSeriesCollection();
for (int i = 0; i < getSeriesName().length; i++)
{
String s = getSeriesName()[i];
XYSeries series = new XYSeries(s, true, true);
xyDataset.addSeries(series);
this.series.put(s, series);
}
this.xyDataset = xyDataset;
//results.add(categoryDataset);
}
else
{
if (FunctionUtilities.isLayoutLevel(event))
{
// Activate the current group, which was filled in the prepare run.
//currentIndex += 1;
//categoryDataset = results.get(currentIndex);
}
}
}
else
{
// reset ...
if (FunctionUtilities.isDefinedPrepareRunLevel(this, event))
{
if (LOG.isDebugEnabled())
{
LOG.debug("XYDataSetCollectorFunction.groupStarted ");//NON-NLS
}
XYSeriesCollection xyDataset = new XYSeriesCollection();
for (int i = 0; i < getSeriesName().length; i++)
{
String s = getSeriesName()[i];
XYSeries series = new XYSeries(s, true, true);
xyDataset.addSeries(series);
this.series.put(s, series);
}
this.xyDataset = xyDataset;
//results.add(categoryDataset);