diff --git a/pic-sure-util/src/main/java/edu/harvard/dbmi/avillach/util/VisualizationUtil.java b/pic-sure-util/src/main/java/edu/harvard/dbmi/avillach/util/VisualizationUtil.java index bbdce22b..53a8e23d 100644 --- a/pic-sure-util/src/main/java/edu/harvard/dbmi/avillach/util/VisualizationUtil.java +++ b/pic-sure-util/src/main/java/edu/harvard/dbmi/avillach/util/VisualizationUtil.java @@ -105,7 +105,7 @@ public static Map limitKeySize(Map axisMap) { int countFromEnd = 6; String uniqueness; do { - // get the original key substring max x + 3 (for the dots) + countFromEnd. + // get the original key substring max x - 3 (for the dots) - countFromEnd. proposedKey = new StringBuilder(key.substring(0, MAX_X_LABEL_LINE_LENGTH - 3 - countFromEnd)); // Get the last "countFromEnd" characters