seriesAnnotation = new LongAnnotation();
seriesAnnotation.setDescription(description);
seriesAnnotation.setNamespace(ANNOTATION_NAMESPACE);
seriesAnnotation.setValue(value);
seriesAnnotation.setID(String.format("%s/%s/%d", ANNOTATION_NAMESPACE, description, value));
sa.addLongAnnotation(seriesAnnotation);
}
plane.linkAnnotation(seriesAnnotation);
}
/**