A newer version of this page is available. Switch to the current version.

Annotation

An Annotation is an explanatory image or text which can be anchored to a series point, a diagram coordinate (two axes values), or an arbitrary pixel coordinate on a chart's surface.

Annotations

Although annotations reside in the collection of the element to which they are anchored (chart, pane or series point), all annotations that are present in a chart control can be centrally accessed via its ChartControl.AnnotationRepository property.

An annotation can be positioned either absolutely (by docking in a corner of its parent container), or relatively (by specifying the rotation angle and connector length to its anchor point).

The table below lists the main properties which affect the element's appearance and functionality.

Class

TextAnnotation and ImageAnnotation

Availability

ChartControl.AnnotationRepository, ChartControl.Annotations, XYDiagramPaneBase.Annotations and SeriesPoint.Annotations

Layout and Position

Annotation.AnchorPoint, Annotation.ShapePosition, Annotation.LabelMode and Annotation.ZOrder

Interactivity

Annotation.RuntimeAnchoring, Annotation.RuntimeMoving, Annotation.RuntimeResizing and Annotation.RuntimeRotation

Appearance

Annotation.ShapeFillet, Annotation.ShapeKind, ImageAnnotation.SizeMode and TextAnnotation.AutoSize

Visibility

Annotation.Visible

See Also