Skip to main content

WebChartControl.AnnotationRepository Property

Provides centralized access to all annotations that are present in the WebChartControl.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v22.1.Web.dll


public AnnotationRepository AnnotationRepository { get; }

Property Value

Type Description

An AnnotationRepository object that stores the chart control’s annotations.


Use the AnnotationRepository property to access annotations present in a chart control with no regard to which particular element they are anchored (a pane, series point or the chart itself).

Alternatively, you can access annotations of an individual element via its WebChartControl.Annotations, XYDiagramPaneBase.Annotations or SeriesPoint.Annotations property. An annotation is added to the corresponding collection, depending on its Annotation.AnchorPoint property value.

For more information, refer to Annotations.

See Also