Back to Devexpress

Axis2DModel.Alignment Property

windowsforms-devexpress-dot-xtracharts-dot-designer-dot-axis2dmodel-38ca75c8.md

latest3.4 KB
Original Source

Axis2DModel.Alignment Property

Gets or sets the value of the Axis2D.Alignment within the model.

Namespace : DevExpress.XtraCharts.Designer

Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[PropertyForOptions(-1, "General", -1)]
[LocalizableCategory(DesignerCategories.Behavior)]
public AxisAlignment Alignment { get; set; }
vb
<PropertyForOptions(-1, "General", -1)>
<LocalizableCategory(DesignerCategories.Behavior)>
Public Property Alignment As AxisAlignment

Property Value

TypeDescription
AxisAlignment

The relative position of the axis.

|

Available values:

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.

|

See Also

Axis2DModel Class

Axis2DModel Members

DevExpress.XtraCharts.Designer Namespace