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

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

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Parameters

Name Type Description
collection AnnotationRepository

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