Completed Task #17165

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@181191 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-07-10 14:37:25 +00:00
parent 31116f8cb8
commit 39382d8e51
3 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,12 @@
<ReleaseNotes>
<Changeset
component="org.gcube.portlets-user.performfish-analytics-portlet.0-2-0"
date="${buildDate}">
<Change>Task #17165</Change>
</Changeset>
<Changeset
component="org.gcube.portlets-user.performfish-analytics-portlet.0-1-0"
date="2019-03-08">
date="${buildDate}">
<Change>first release</Change>
</Changeset>
</ReleaseNotes>

View File

@ -728,17 +728,14 @@ public class PerformFishAnnualAnalyticsController {
String title = toTitle;
switch (chartType) {
case BOXPLOT:
// if(result.getFileName().contains("_user")){
// title = "My Batch(es)";
// }else{
// title = "All batches in the VRE (including mine)";
// }
if(result.getFileName().contains("_user")){
title = "My Batch(es)";
return;
}else{
title = "All farm data in the VRE (including mine)";
}
title+="<br>";
title+="Data aggregation is performed by considering farms as base units";
break;
case CORRELATION:
break;

View File

@ -650,6 +650,8 @@ public class PerformFishAnalyticsController {
}else{
title = "All batches in the VRE (including mine)";
}
title+="<br>";
title+="Data aggregation is performed by considering batches as base units";
break;
case CORRELATION:
break;