Skip to main content
A newer version of this page is available. .

AxisAlignment Enum

Lists the values used to specify an axis alignment.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public enum AxisAlignment

Members

Name Description Image
Near

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

Axis Alignment - Near

Far

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

Axis Alignment - Far

Zero

The axis intercepts another primary axis at the zero level.

This alignment type is applicable to primary axes only.

The zero level passes through the zero for an axis of values and depends on a series SeriesBase.ScaleType property value for an axis of arguments:

  • for the ScaleType.Qualitative scale, the zero level is specified by the first point’s argument,

  • for the ScaleType.Numerical scale, the zero level equals the zero value,

  • for the ScaleType.DateTime scale, the zero level is equal to the earliest date.

Axis Alignment - Zero

Center

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

This alignment type is applicable to primary axes only.

Axis Alignment - Center

Related API Members

The following properties accept/return AxisAlignment values:

Remarks

Values listed by the AxisAlignment enumeration are used to set the Axis2D.Alignment property.

See Also