git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/accounting/accounting-summary-access@169799 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1b3ca0d283
commit
09726c4e61
|
@ -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()])));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue