AnnotationShapePosition Class
The base class for classes representing the annotation shape position.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Related API Members
The following members return AnnotationShapePosition objects:
Remarks
The following table contains the various types of the annotation shape position.
The Property Values | The Example Image | Description |
---|---|---|
ShapePosition = RelativePosition | If the Annotation.ShapePosition property is specified as the RelativePosition type, the annotation shape position can be modified using the RelativePosition.ConnectorLength and RelativePosition.Angle properties. In this example, the ConnectorLength property is specified as 55 and the RelativePosition.Angle property as 45. | |
ShapePosition = FreePosition | The Annotation.ShapePosition property is specified as the FreePosition type. The annotation layout can be specified using the FreePosition.VerticalAlignment and FreePosition.HorizontalAlignment properties. The parent element can be defined using the FreePosition.DockTarget property. Define the indents from the parent element edges using the Annotation.Margin property. In this example, the annotation is docked to a Chart control. The HorizontalAlignment property is specified to Right, the VerticalAlignment to Top. The Margin property is defined to (0, 90, 50, 0). |