- AlignmentAnnotation theAnn = alignment.findOrCreateAnnotation(
- ann.label, ann.description, false, null, null);
- theAnn.showAllColLabels = true;
- theAnn.graph = AlignmentAnnotation.BAR_GRAPH;
- theAnn.scaleColLabel = true;
- theAnn.annotations = ann.annotations;
- setGraphMinMax(theAnn, theAnn.annotations);
- theAnn.validateRangeAndDisplay();
- if (!ourAnnots.contains(theAnn))
- {
- ourAnnots.add(theAnn);
- }
- // alignment.addAnnotation(ann);