Skip to main content

Annotation

An Annotation is an explanatory image or text that can be anchored to a series point, a diagram coordinate (two axis 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 displayed in a chart control can be centrally accessed from its WebChartControl.AnnotationRepository property.

An annotation can be positioned either absolutely (docked to a corner of its parent container), or relatively (with a specified rotation angle and connector length to its anchor point).

The table below lists the main properties that affect the element’s appearance and functionality.

Class

TextAnnotation and ImageAnnotation

Availability

WebChartControl.AnnotationRepository, WebChartControl.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