PaneAnchorPoint.AxisYCoordinate Property
Specifies the Y-axis coordinate for the annotation PaneAnchorPoint.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
AxisYCoordinate | An AxisYCoordinate object specifying the annotation anchor point Y-axis coordinate. |
Remarks
When the Annotation.AnchorPoint property is specified to PaneAnchorPoint, define a particular pane using the PaneAnchorPoint.Pane property. Specify the required axes using the AxisXCoordinate.Axis and AxisYCoordinate.Axis properties. Configure the anchor point coordinates using the PaneAnchorPoint.AxisXCoordinate and AxisYCoordinate properties.
Example
To anchor an annotation to the required pane, specify the PaneAnchorPoint.Pane property. Then, define the axes and their values to specify the anchor point using the PaneAnchorPoint.AxisXCoordinate and PaneAnchorPoint.AxisYCoordinate
properties.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-chart-annotations-t376991.
<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>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AxisYCoordinate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.