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

AxisAlignment Enum

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(AxisAlignmentTypeConverter))]
public enum AxisAlignment

Members

Name Description
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.

Note

This alignment type is applicable to primary axes only.

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.ScaleType property value:

- 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.

Related API Members

The following properties accept/return AxisAlignment values:

Library Related API Members
Cross-Platform Class Library Axis2D.Alignment
WinForms Controls Axis2DModel.Alignment

Remarks

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

See Also