Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AxisAlignment Enum

Lists the values used to specify an axis alignment.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.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.ArgumentScaleType property value for an axis of arguments:

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

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

  • for the 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