Changed labels in Farm Data Charts according to Task #16756
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@179522 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1336c20569
commit
3960abe967
|
@ -685,8 +685,10 @@ public class PerformFishAnnualAnalyticsController {
|
|||
String title = toTitle;
|
||||
switch (chartType) {
|
||||
case BOXPLOT:
|
||||
title = chartType.getName()+" - on all batches<br>";
|
||||
title += "Blue dots indicate the selected batch(es): "+focusID;
|
||||
//title = chartType.getName()+" - on all batches<br>";
|
||||
//title += "Blue dots indicate the selected batch(es): "+focusID;
|
||||
title = chartType.getName()+" - on all farm data<br>";
|
||||
title += "Blue dots indicate the selected farm: "+focusID;
|
||||
break;
|
||||
case CORRELATION:
|
||||
break;
|
||||
|
@ -696,8 +698,8 @@ public class PerformFishAnnualAnalyticsController {
|
|||
break;
|
||||
case SPEEDOMETER:
|
||||
title = "Speedometer<br>";
|
||||
title+= "Selected BATCH ID: "+focusID+"<br>";
|
||||
title+= "Normalized with respect to all batches in the VRE";
|
||||
title+= "Selected Farm: "+focusID+"<br>";
|
||||
title+= "Normalized with respect to all farm data in the VRE";
|
||||
break;
|
||||
case DEA_CHART:
|
||||
break;
|
||||
|
@ -726,10 +728,16 @@ 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 batches in the VRE (including mine)";
|
||||
title = "All farm data in the VRE (including mine)";
|
||||
}
|
||||
break;
|
||||
case CORRELATION:
|
||||
|
|
Loading…
Reference in New Issue