Back to Devexpress

SeriesPointAnchorPoint Class

wpf-devexpress-dot-xpf-dot-charts-4dd304b9.md

latest2.2 KB
Original Source

SeriesPointAnchorPoint Class

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

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class SeriesPointAnchorPoint :
    AnnotationAnchorPoint
vb
Public Class SeriesPointAnchorPoint
    Inherits AnnotationAnchorPoint

Remarks

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

Example

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

To do this, specify the SeriesPointAnchorPoint.SeriesPoint property.

xaml
<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>

Inheritance

Object DispatcherObject DependencyObject Freezable ChartDependencyObject AnnotationAnchorPoint SeriesPointAnchorPoint

See Also

SeriesPointAnchorPoint Members

DevExpress.Xpf.Charts Namespace