SeriesPointAnchorPoint Class

Settings that indicate the Annotation is anchored to a series point.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.2.dll

Declaration

public class SeriesPointAnchorPoint :
    AnnotationAnchorPoint
Public Class SeriesPointAnchorPoint
    Inherits AnnotationAnchorPoint

Remarks

To anchor an annotation to a required series, specify the SeriesPointAnchorPoint.SeriesPoint property.

Examples

This example demonstrates how to anchor an annotation to a series point.

To do this, specify the SeriesPointAnchorPoint.SeriesPoint property.

<dxc:Annotation Content="Annotation #1">
    <dxc:Annotation.AnchorPoint>
        <dxc:SeriesPointAnchorPoint SeriesPoint="{Binding ElementName=seriesPoint}"/>
    </dxc:Annotation.AnchorPoint>
    <dxc:Annotation.ShapePosition>
        <dxc:RelativePosition Angle="60" 
                              ConnectorLength="50"/>
    </dxc:Annotation.ShapePosition>
</dxc:Annotation>
See Also