private void AddUserAnnotations(Evaluation evaluation) { //clear old annotations chart1.Annotations.Clear(); var evaluations = evaluation.GetAllDQEGraphAnnotations(_pivotCategoryValue).Where(a => a.AnnotationIsForGraph == DQEGraphType.TimePeriodicityGraph); foreach (DQEGraphAnnotation annotation in evaluations) { var a = new DQEGraphAnnotationUI(annotation, chart1); chart1.Annotations.Add(a.Annotation); chart1.Annotations.Add(a.TextAnnotation); } }
protected bool Equals(DQEGraphAnnotationUI other) { return(Equals(_underlyingAnnotationObject, other._underlyingAnnotationObject)); }