Skip to main content

XtraChartsCollectionExtensions.AddTextAnnotation(AnnotationCollection, Action<TextAnnotation>) Method

Adds a new text annotation configured using the specified method to the specified annotations collection.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void AddTextAnnotation(
    this AnnotationCollection collection,
    Action<TextAnnotation> annotationAction
)

Parameters

Name Type Description
collection AnnotationCollection

A collection of annotations to which a new annotation will be added.

annotationAction Action<TextAnnotation>

A delegate method configuring a TextAnnotation object.

Remarks

Note

This method is an extension method.

See Also