Back to Devexpress

AxisYCoordinate Class

wpf-devexpress-dot-xpf-dot-charts-db2dd10e.md

latest3.4 KB
Original Source

AxisYCoordinate Class

The settings that define the annotation anchor point Y-axis coordinate.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class AxisYCoordinate :
    AxisCoordinate
vb
Public Class AxisYCoordinate
    Inherits AxisCoordinate

The following members return AxisYCoordinate objects:

Remarks

If the Annotation.AnchorPoint property is specified as PaneAnchorPoint, define a required pane to which an annotation is anchored using the PaneAnchorPoint.Pane property. Assign the required AxisXCoordinate and AxisYCoordinate objects to the PaneAnchorPoint.AxisXCoordinate and PaneAnchorPoint.AxisYCoordinate properties.

Example

This example shows how to anchor an annotation to a pane.

xaml
<dxc:Annotation.AnchorPoint>
    <dxc:PaneAnchorPoint Pane="{Binding ElementName=defaultPane}">
        <dxc:PaneAnchorPoint.AxisXCoordinate>
            <dxc:AxisXCoordinate Axis="{Binding ElementName=xAxis}" 
                                 AxisValue="2.85"/>
        </dxc:PaneAnchorPoint.AxisXCoordinate>
        <dxc:PaneAnchorPoint.AxisYCoordinate>
            <dxc:AxisYCoordinate Axis="{Binding ElementName=yAxis}" 
                                 AxisValue="-30"/>
        </dxc:PaneAnchorPoint.AxisYCoordinate>
    </dxc:PaneAnchorPoint>
</dxc:Annotation.AnchorPoint>

Inheritance

Object DispatcherObject DependencyObject Freezable ChartDependencyObject AxisCoordinate AxisYCoordinate

See Also

AxisYCoordinate Members

DevExpress.Xpf.Charts Namespace