Skip to main content

ChartControlSettings.AnnotationRepository Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

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 irrespective of which particular element they are anchored to (a pane, series point or the chart itself).

Alternatively, you can access annotations of an individual element via its ChartControlSettings.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