From 09726c4e61fb3757ff8f070ef1effa47bad8034a Mon Sep 17 00:00:00 2001 From: "fabio.sinibaldi" Date: Mon, 16 Jul 2018 15:10:12 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/accounting/accounting-summary-access@169799 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../accounting/summary/access/impl/AccountingDaoImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/accounting/accounting/summary/access/impl/AccountingDaoImpl.java b/src/main/java/org/gcube/accounting/accounting/summary/access/impl/AccountingDaoImpl.java index f36921f..cdff295 100644 --- a/src/main/java/org/gcube/accounting/accounting/summary/access/impl/AccountingDaoImpl.java +++ b/src/main/java/org/gcube/accounting/accounting/summary/access/impl/AccountingDaoImpl.java @@ -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()]))); }