Skip to main content

TextAnnotation() Constructor

Initializes a new instance of the TextAnnotation class with the default settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public TextAnnotation()

Remarks

Use this constructor to create a text annotation with default settings.

After an annotation is added to an element’s collection, it can be accessed via the corresponding property of this element (ChartControl.Annotations, XYDiagramPaneBase.Annotations, or SeriesPoint.Annotations). Alternatively, to centrally access all annotations that are present in a chart control, use the ChartControl.AnnotationRepository property.

For more information, refer to Annotations.

See Also