Back to Devexpress

ChartControlSettings.AnnotationRepository Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-chartcontrolsettings-4d1503e6.md

latest2.5 KB
Original Source

ChartControlSettings.AnnotationRepository Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public AnnotationRepository AnnotationRepository { get; }
vb
Public ReadOnly Property AnnotationRepository As AnnotationRepository

Property Value

TypeDescription
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

Annotations

AnchorPoint

Annotations

ChartControlSettings Class

ChartControlSettings Members

DevExpress.Web.Mvc Namespace