wpf-devexpress-dot-xpf-dot-charts-6f8fdba3.md
The settings for the annotation position depending on its anchor point.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public class RelativePosition :
AnnotationShapePosition
Public Class RelativePosition
Inherits AnnotationShapePosition
If the Annotation.ShapePosition property is specified as RelativePosition , define an angle by which an annotation is rotated around its anchor point using the RelativePosition.Angle property. Specify the connector length using the RelativePosition.ConnectorLength property.
This example demonstrates how to customize the annotation layout when the Annotation.ShapePosition property is specified as the RelativePosition type.
Then, configure the RelativePosition.ConnectorLength and RelativePosition.Angle properties to specify the annotation position.
<dxc:Annotation.ShapePosition>
<dxc:RelativePosition Angle="60"
ConnectorLength="50"/>
</dxc:Annotation.ShapePosition>
Object DispatcherObject DependencyObject Freezable ChartDependencyObject AnnotationShapePosition RelativePosition
See Also