Annotation an = new Annotation();\r
an.setDescription(aa[i].description);\r
if(aa[i].graph>0)\r
+ {\r
an.setGraph(true);\r
-\r
+ an.setGraphType(aa[i].graph);\r
+ }\r
an.setLabel(aa[i].label);\r
\r
AnnotationElement ae;\r
{\r
jaa = new jalview.datamodel.AlignmentAnnotation(an[i].getLabel(),\r
an[i].getDescription(), anot, 0, 0,\r
- jalview.datamodel.AlignmentAnnotation.BAR_GRAPH);\r
+ an[i].getGraphType());\r
}\r
else\r
{\r