diff --git a/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java b/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java index cf989fed..7090770d 100644 --- a/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java +++ b/pic-sure-resources/pic-sure-visualization-resource/src/main/java/edu/harvard/hms/dbmi/avillach/resource/visualization/service/DataProcessingService.java @@ -264,7 +264,7 @@ private static Map createLabelsForBins(Map re finalMap.remove(label); finalMap.put(newLabel + " +", lastCount); - } else if (lastCount != null) { + } else if (lastCount != null && finalMap.size() == 1) { // If there is only one bin // Remove the range and just use the max value finalMap.remove(label);