public SequenceGroup groupRef =null ;
+ /**
+ * display every column label, even if there is a row of identical labels
+ */
+ public boolean showAllColLabels=false;
+
+ /**
+ * scale the column label to fit within the alignment column.
+ */
+ public boolean scaleColLabel = false;
+
+ /**
+ * centre the column labels relative to the alignment column
+ */
+ public boolean centreColLabels = false;
+
/* (non-Javadoc)
* @see java.lang.Object#finalize()
firstChar != 'H'
&& firstChar != 'E'
&& firstChar != '-'
- && firstChar != '-'
&& firstChar < jalview.schemes.ResidueProperties.aaIndex.length)
{
- if (jalview.schemes.ResidueProperties.aaIndex[firstChar] < 23)
+ if (jalview.schemes.ResidueProperties.aaIndex[firstChar] < 23) // TODO: parameterise to gap symbol number
{
nonSSLabel = true;
}
min = annotations[i].value;
}
}
+ // ensure zero is origin for min/max ranges on only one side of zero
+ if (min>0) {
+ min = 0;
+ } else {
+ if (max<0)
+ {
+ max = 0;
+ }
+ }
}
graphMin = min;
buffer.append(", ");
}
-
- if (label.equals("Consensus"))
+ // TODO: remove disgusting hack for 'special' treatment of consensus line.
+ if (label.indexOf("Consensus")==0)
{
buffer.append("\n");