Back to Devexpress

AxisCoordinate.AxisValue Property

corelibraries-devexpress-dot-xtracharts-dot-axiscoordinate.md

latest2.4 KB
Original Source

AxisCoordinate.AxisValue Property

Specifies the axis value for the annotation anchored to a pane.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public object AxisValue { get; set; }
vb
Public Property AxisValue As Object

Property Value

TypeDescription
Object

A Object value specifying the axis value.

|

Remarks

The value defined for the axis should correspond to its scale type.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AxisValue 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.

winforms-chart-accompany-chart-elements-by-text-or-image-annotations/VB/AnnotationsSample/Form1.vb#L40

vb
' Define its axis coordinates (in units appropriate for the scale type of the axes).
CType(myPane.Annotations(0).AnchorPoint, PaneAnchorPoint).AxisXCoordinate.AxisValue = 2
CType(myPane.Annotations(0).AnchorPoint, PaneAnchorPoint).AxisYCoordinate.AxisValue = 180

See Also

AxisCoordinate Class

AxisCoordinate Members

DevExpress.XtraCharts Namespace