Skip to main content
A newer version of this page is available. .

Annotation.ShapePosition Property

Specifies how the annotation‘s position is defined - relative to its container corners, or to its anchor point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public AnnotationShapePosition ShapePosition { get; set; }

Property Value

Type Description
AnnotationShapePosition

An AnnotationShapePosition class descendant representing the shape position type.

Remarks

Use the ShapePosition property, to choose an annotation’s shape position type - FreePosition or RelativePosition.

For more information, refer to [Annotations.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapePosition property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also