item.configure(series);
}
private void addClassification(DataSeries item, List<Exception> warnings)
{
Classification classification = (Classification) item.getInstance();
PerformanceIndex index = (PerformanceIndex) dataCache.get(classification);
if (index == null)
{
index = PerformanceIndex.forClassification(getClient(), classification, getReportingPeriod(), warnings);
dataCache.put(classification, index);
}
ILineSeries series = chart.addDateSeries(index.getDates(), //
toDouble(index.getTotals(), Values.Amount.divider()), //
classification.getName());
item.configure(series);
}