Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 protected bool Equals(DQEGraphAnnotationUI other)
 {
     return(Equals(_underlyingAnnotationObject, other._underlyingAnnotationObject));
 }