Axis.CrossType Property
Gets or sets how this axis crosses another axis.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| AxisCrossType | The way this axis crosses another axis. |
Available values:
| Name | Description |
|---|---|
| Auto | Axis crossing position is determined automatically. |
| Min | Axis crosses at the minimum value. |
| Max | Axis crosses at the maximum value. |
| Custom | Axis crosses at a custom value the Axis.CrossesAt property specifies. |
Example
Set the Axis.CrossType property to Custom and use the Axis.CrossesAt property to specify the crossing point on the axis perpendicular to the current axis:

using DevExpress.Docs.Office;
CategoryAxis? axis = chart.ArgumentAxis as CategoryAxis;
if (axis != null) {
axis.CrossType = AxisCrossType.Custom;
axis.CrossesAt = 8;
}
See Also