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.v24.1.Web.dll

NuGet Package: DevExpress.Web.Visualization

Declaration

public AnnotationRepository AnnotationRepository { get; }

Property Value

Type Description
AnnotationRepository

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

Remarks

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