public virtual AnnotationGroupElement AddAnnotationGroup(double? x, double? y) { var annotationGroup = new AnnotationGroupElement { X = x, Y = y, }; Annotations.Add(annotationGroup); return annotationGroup; }