Back to Devexpress

WebChartControl.AnnotationRepository Property

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-fe9f648c.md

latest2.5 KB
Original Source

WebChartControl.AnnotationRepository Property

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

Namespace : DevExpress.XtraCharts.Web

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

NuGet Package : DevExpress.Web.Visualization

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 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

Annotations

AnchorPoint

Annotations

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace