Back to Devexpress

AxisAlignment Enum

corelibraries-devexpress-dot-xtracharts-31d7d3d5.md

latest3.5 KB
Original Source

AxisAlignment Enum

Lists the values used to specify the position of an axis relative to another axis.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum AxisAlignment
vb
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum AxisAlignment

Members

NameDescription
Near

An axis is displayed at the left or bottom side of the diagram, depending on its type and orientation.

| | Far |

An axis is displayed at the right or top side of the diagram, depending on its type and orientation.

| | Zero |

An axis intercepts another primary axis at the zero level.

This alignment type is applicable to primary axes only.

In this mode, an axis title and labels are shown within the pane.

For an axis of (Y) values, the zero level is its zero line.

For an axis of (X) arguments, the zero level depends upon a series’ SeriesBase.ArgumentScaleType property value:

| | Center |

The axis is positioned in the center of chart plot area.

This alignment type is applicable to primary axes only.

In this mode, an axis title and labels are shown within the pane.

|

The following properties accept/return AxisAlignment values:

LibraryRelated API Members
Cross-Platform Class LibraryAxis2D.Alignment
WinForms ControlsAxis2DModel.Alignment

Remarks

The values listed by the AxisAlignment enumeration are used to set the Axis2D.Alignment property of an axis.

See Also

DevExpress.XtraCharts Namespace