Fabio Sinibaldi 2018-07-16 15:10:12 +00:00
parent 1b3ca0d283
commit 09726c4e61
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ public class AccountingDaoImpl implements AccountingDao{
String category=entry.getGroup();
// Report 1 series for selected Scope
reports.add(new ReportElement(desc.getName()+" "+xLabel,category,
reports.add(new ReportElement(desc.getName()+" "+yLabel,category,
xLabel,yLabel,new Series[]{getSeries(queries, from, to, entry, desc, resolution, timeSlices)}));
// Report 2 series for each children
@ -101,7 +101,7 @@ public class AccountingDaoImpl implements AccountingDao{
for(ScopeDescriptor child:desc.getChildren()){
childrenSeries.add(getSeries(queries, from, to, entry, child, resolution, timeSlices));
}
reports.add(new ReportElement(desc.getName()+" children "+xLabel,category,
reports.add(new ReportElement(desc.getName()+" children "+yLabel,category,
xLabel,yLabel,childrenSeries.toArray(new Series[childrenSeries.size()])));
}